]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kernel/printk/printk.c: enable boot delay for earlyprintk
authorDave Young <dyoung@redhat.com>
Tue, 5 Nov 2013 05:56:13 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:13 +0000 (16:56 +1100)
boot_delay does not work for earlyprintk because the kernel cmdline
parsing is late.

Change to use early_param so early kernel messages can also be delayed.

Signed-off-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/printk/printk.c

index 78b7c0f38259c39183d1928868d1dd186c39b636..6b16cdf752741ba331fb7c451e8918dbdbccb84d 100644 (file)
@@ -822,7 +822,7 @@ static int __init boot_delay_setup(char *str)
                boot_delay, preset_lpj, lpj, HZ, loops_per_msec);
        return 1;
 }
-__setup("boot_delay=", boot_delay_setup);
+early_param("boot_delay", boot_delay_setup);
 
 static void boot_delay_msec(int level)
 {