diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-05-17 10:00:41 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-05-19 07:02:12 +0200 |
commit | 480f6f35a149802a94ad5c1a2673ed6ec8d2c158 (patch) | |
tree | b0cded201abfbc7c6a1c5bfa316e6fecc1e2b507 /arch/powerpc/kernel/setup_32.c | |
parent | [PATCH] powerpc: Create /proc/rtas, /proc/ppc64/rtas if RTAS exists. (diff) | |
download | linux-480f6f35a149802a94ad5c1a2673ed6ec8d2c158.tar.xz linux-480f6f35a149802a94ad5c1a2673ed6ec8d2c158.zip |
[PATCH] powerpc: Make early xmon logic immune to location of early parsing
Currently early_xmon() calls directly into debugger() if xmon=early is passed.
This ties the invocation of early xmon to the location of parse_early_param(),
which might change.
Tested on P5 LPAR and F50.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index 88832b3ee661..2b6cacb6946f 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c @@ -297,6 +297,9 @@ void __init setup_arch(char **cmdline_p) parse_early_param(); + if (do_early_xmon) + debugger(NULL); + /* set up the bootmem stuff with available memory */ do_init_bootmem(); if ( ppc_md.progress ) ppc_md.progress("setup_arch: bootmem", 0x3eab); |