diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-12-10 22:48:24 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-10 23:43:35 -0500 |
commit | 7ee17466b6ac3b63ce87492d080e15e7f144f7d2 (patch) | |
tree | c444e78f104dd0df087f71612b63f1189150f4a4 /arch/powerpc/kernel/udbg.c | |
parent | 837c54db21fc7047af75f3fe4295e32106449e34 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/kernel/udbg.c')
-rw-r--r-- | arch/powerpc/kernel/udbg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/udbg.c b/arch/powerpc/kernel/udbg.c index d723070c9a33..eba148f2a31c 100644 --- a/arch/powerpc/kernel/udbg.c +++ b/arch/powerpc/kernel/udbg.c | |||
@@ -57,6 +57,10 @@ void __init udbg_early_init(void) | |||
57 | #elif defined(CONFIG_PPC_EARLY_DEBUG_CPM) | 57 | #elif defined(CONFIG_PPC_EARLY_DEBUG_CPM) |
58 | udbg_init_cpm(); | 58 | udbg_init_cpm(); |
59 | #endif | 59 | #endif |
60 | |||
61 | #ifdef CONFIG_PPC_EARLY_DEBUG | ||
62 | console_loglevel = 10; | ||
63 | #endif | ||
60 | } | 64 | } |
61 | 65 | ||
62 | /* udbg library, used by xmon et al */ | 66 | /* udbg library, used by xmon et al */ |