summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-08-31 07:05:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-02 23:38:50 +0100
commit0d6dc5c2c0fc0ef6be102933b8b34d067c2ffc23 (patch)
tree444487be00b8ebaf1059b404e28e04ef3d703dfe
parent97768b81c1b60692775ba0dcc97c6dc7376d09ce (diff)
downloadpoky-0d6dc5c2c0fc0ef6be102933b8b34d067c2ffc23.tar.gz
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>
-rw-r--r--documentation/dev-manual/dev-manual-kernel-appendix.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/dev-manual/dev-manual-kernel-appendix.xml b/documentation/dev-manual/dev-manual-kernel-appendix.xml
index ffe3230126..68b7642a97 100644
--- a/documentation/dev-manual/dev-manual-kernel-appendix.xml
+++ b/documentation/dev-manual/dev-manual-kernel-appendix.xml
@@ -159,7 +159,7 @@
159 </section> 159 </section>
160 160
161 <section id='setting-up-the-poky-extras-git-repository'> 161 <section id='setting-up-the-poky-extras-git-repository'>
162 <title>Setting Up the <filename>poky-extras</filename> Git Repository</title> 162 <title>Setting Up the poky-extras Git Repository</title>
163 163
164 <para> 164 <para>
165 This example places the <filename>poky-extras</filename> Git repository inside 165 This example places the <filename>poky-extras</filename> Git repository inside
@@ -317,12 +317,12 @@
317 { 317 {
318 unsigned long ticks, loopbit; 318 unsigned long ticks, loopbit;
319 int lps_precision = LPS_PREC; 319 int lps_precision = LPS_PREC;
320 static bool printed;
320 printk("*************************************\n"); 321 printk("*************************************\n");
321 printk("* *\n"); 322 printk("* *\n");
322 printk("* HELLO YOCTO KERNEL *\n"); 323 printk("* HELLO YOCTO KERNEL *\n");
323 printk("* *\n"); 324 printk("* *\n");
324 printk("*************************************\n"); 325 printk("*************************************\n");
325 static bool printed;
326 326
327 if (preset_lpj) { 327 if (preset_lpj) {
328 . 328 .