]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
debug: turn ignore_loglevel into an early param
authorIngo Molnar <mingo@elte.hu>
Thu, 31 Jan 2008 21:45:23 +0000 (22:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 31 Jan 2008 21:45:23 +0000 (22:45 +0100)
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 <mingo@elte.hu>
kernel/printk.c

index 58bbec6841193d977f0a928fef090aee5edafa9b..29ae1e99cde08b247aa106a2939496abf3b3c871 100644 (file)
@@ -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