mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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:
committed by
Richard Purdie
parent
97768b81c1
commit
0d6dc5c2c0
@@ -159,7 +159,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='setting-up-the-poky-extras-git-repository'>
|
<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>
|
<para>
|
||||||
This example places the <filename>poky-extras</filename> Git repository inside
|
This example places the <filename>poky-extras</filename> Git repository inside
|
||||||
@@ -317,12 +317,12 @@
|
|||||||
{
|
{
|
||||||
unsigned long ticks, loopbit;
|
unsigned long ticks, loopbit;
|
||||||
int lps_precision = LPS_PREC;
|
int lps_precision = LPS_PREC;
|
||||||
|
static bool printed;
|
||||||
printk("*************************************\n");
|
printk("*************************************\n");
|
||||||
printk("* *\n");
|
printk("* *\n");
|
||||||
printk("* HELLO YOCTO KERNEL *\n");
|
printk("* HELLO YOCTO KERNEL *\n");
|
||||||
printk("* *\n");
|
printk("* *\n");
|
||||||
printk("*************************************\n");
|
printk("*************************************\n");
|
||||||
static bool printed;
|
|
||||||
|
|
||||||
if (preset_lpj) {
|
if (preset_lpj) {
|
||||||
.
|
.
|
||||||
|
|||||||
Reference in New Issue
Block a user