Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c4772d99300a9fc13c86aaa370e630c5973664f6
Commit:     c4772d99300a9fc13c86aaa370e630c5973664f6
Parent:     5aff0531ee2403b319e89bd04055fc41173e95fd
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 31 22:45:23 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Thu Jan 31 22:45:23 2008 +0100

    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 <[EMAIL PROTECTED]>
---
 kernel/printk.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/printk.c b/kernel/printk.c
index 58bbec6..29ae1e9 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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to