lkml.org 
[lkml]   [2013]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] enable boot delay for earlyprintk

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)
{

\
 
 \ /
  Last update: 2013-10-31 10:41    [W:0.041 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site