documentation/dev-manual/dev-manual-kernel-appendix.xml: moved statement
Dave Stewart said that good coding practice is to set the variables before any print statements. So I moved one statement above the example printk statements. (From yocto-docs rev: bad0537a5a6472fb3fef06de9763990a0c352e25) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
97768b81c1
commit
0d6dc5c2c0
|
@ -159,7 +159,7 @@
|
|||
</section>
|
||||
|
||||
<section id='setting-up-the-poky-extras-git-repository'>
|
||||
<title>Setting Up the <filename>poky-extras</filename> Git Repository</title>
|
||||
<title>Setting Up the poky-extras Git Repository</title>
|
||||
|
||||
<para>
|
||||
This example places the <filename>poky-extras</filename> Git repository inside
|
||||
|
@ -317,12 +317,12 @@
|
|||
{
|
||||
unsigned long ticks, loopbit;
|
||||
int lps_precision = LPS_PREC;
|
||||
static bool printed;
|
||||
printk("*************************************\n");
|
||||
printk("* *\n");
|
||||
printk("* HELLO YOCTO KERNEL *\n");
|
||||
printk("* *\n");
|
||||
printk("*************************************\n");
|
||||
static bool printed;
|
||||
|
||||
if (preset_lpj) {
|
||||
.
|
||||
|
|
Loading…
Reference in New Issue