[POWERPC] Early debug forces console log level to max
This makes the early debug option force the console loglevel to the max. The early debug option is meant to catch messages very early in the kernel boot process, in many cases, before the kernel has a chance to parse the "debug" command line argument. Thus it makes sense when CONFIG_PPC_EARLY_DEBUG is set, to force the console log level to the max at boot time. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
837c54db21
commit
7ee17466b6
@@ -57,6 +57,10 @@ void __init udbg_early_init(void)
|
||||
#elif defined(CONFIG_PPC_EARLY_DEBUG_CPM)
|
||||
udbg_init_cpm();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PPC_EARLY_DEBUG
|
||||
console_loglevel = 10;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* udbg library, used by xmon et al */
|
||||
|
Reference in New Issue
Block a user