summaryrefslogtreecommitdiff
BranchCommit messageAuthorAge
masterControl workTobias Klauser14 years
 
TagDownloadAuthorAge
0.5-2commit 401ed8cf23...Tobias Klauser14 years
0.5-1commit fa4c8b85b1...Tobias Klauser17 years
0.4-1commit 80a71e08f3...Tobias Klauser17 years
0.3-1commit ad7e695784...Tobias Klauser17 years
0.2-1commit 5858819e4e...Tobias Klauser17 years
2a99a17'>diff)
printk: add Kconfig option to set default console loglevel
Add a configuration option to set the default console loglevel. This is, as before, still possible to override at runtime through bootargs (loglevel=<x>), sysrq and /proc/printk. There are cases where adding additional arguments on the commandline is impractical, and changing the default for the kernel when being built makes more sense. Provide such a method here, for those who choose to do so. Also, while touching this code, clarify the difference between MESSAGE_LOGLEVEL_DEFAULT and CONSOLE_LOGLEVEL_DEFAULT. Link: http://lkml.kernel.org/r/1479676829-30031-1-git-send-email-olof@lixom.net Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat