Skip to content

Commit

Permalink
debug: turn ignore_loglevel into an early param
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Jan 31, 2008
1 parent 5aff053 commit c4772d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4772d9

Please sign in to comment.