From: Ingo Molnar Date: Thu, 31 Jan 2008 21:45:23 +0000 (+0100) Subject: debug: turn ignore_loglevel into an early param X-Git-Tag: v2.6.25-rc1~1126^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4772d99300a9fc13c86aaa370e630c5973664f6;p=linux-2.6 debug: turn ignore_loglevel into an early param i was debugging early crashes and wondered where all the printks went. The reason: ignore_loglevel_setup() was not called yet ... Signed-off-by: Ingo Molnar --- diff --git a/kernel/printk.c b/kernel/printk.c index 58bbec6841..29ae1e99cd 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -455,10 +455,10 @@ static int __init ignore_loglevel_setup(char *str) ignore_loglevel = 1; printk(KERN_INFO "debug: ignoring loglevel setting.\n"); - return 1; + return 0; } -__setup("ignore_loglevel", ignore_loglevel_setup); +early_param("ignore_loglevel", ignore_loglevel_setup); /* * Write out chars from start to end - 1 inclusive