linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] enable boot delay for earlyprintk
@ 2013-10-31  9:31 Dave Young
  0 siblings, 0 replies; only message in thread
From: Dave Young @ 2013-10-31  9:31 UTC (permalink / raw)
  To: linux-kernel, akpm


Previously 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>
---
 kernel/printk/printk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.orig/kernel/printk/printk.c
+++ linux-2.6/kernel/printk/printk.c
@@ -822,7 +822,7 @@ static int __init boot_delay_setup(char
 		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)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-31  9:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-31  9:31 [PATCH] enable boot delay for earlyprintk Dave Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).