summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2006-05-17 18:00:41 +1000
committerPaul Mackerras <paulus@samba.org>2006-05-19 15:02:12 +1000
commit480f6f35a149802a94ad5c1a2673ed6ec8d2c158 (patch)
treeb0cded201abfbc7c6a1c5bfa316e6fecc1e2b507 /arch/powerpc/kernel/setup.h
parent9dabbfbab312909782b26580d71e3977622fab6e (diff)
downloadop-kernel-dev-480f6f35a149802a94ad5c1a2673ed6ec8d2c158.zip
op-kernel-dev-480f6f35a149802a94ad5c1a2673ed6ec8d2c158.tar.gz
[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.h')
-rw-r--r--arch/powerpc/kernel/setup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup.h b/arch/powerpc/kernel/setup.h
index e67066c..4c67ad7 100644
--- a/arch/powerpc/kernel/setup.h
+++ b/arch/powerpc/kernel/setup.h
@@ -4,5 +4,6 @@
void check_for_initrd(void);
void do_init_bootmem(void);
void setup_panic(void);
+extern int do_early_xmon;
#endif /* _POWERPC_KERNEL_SETUP_H */
OpenPOWER on IntegriCloud