diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-31 16:45:23 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-31 16:45:23 -0500 |
commit | c4772d99300a9fc13c86aaa370e630c5973664f6 (patch) | |
tree | afdc34662ecdb0522cab05690d55edb0a9eea85b | |
parent | 5aff0531ee2403b319e89bd04055fc41173e95fd (diff) |
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 <mingo@elte.hu>
-rw-r--r-- | kernel/printk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index 58bbec684119..29ae1e99cde0 100644 --- a/kernel/printk.c +++ b/kernel/printk.c | |||
@@ -455,10 +455,10 @@ static int __init ignore_loglevel_setup(char *str) | |||
455 | ignore_loglevel = 1; | 455 | ignore_loglevel = 1; |
456 | printk(KERN_INFO "debug: ignoring loglevel setting.\n"); | 456 | printk(KERN_INFO "debug: ignoring loglevel setting.\n"); |
457 | 457 | ||
458 | return 1; | 458 | return 0; |
459 | } | 459 | } |
460 | 460 | ||
461 | __setup("ignore_loglevel", ignore_loglevel_setup); | 461 | early_param("ignore_loglevel", ignore_loglevel_setup); |
462 | 462 | ||
463 | /* | 463 | /* |
464 | * Write out chars from start to end - 1 inclusive | 464 | * Write out chars from start to end - 1 inclusive |