diff options
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/head_32.S | 3 | ||||
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 5 | ||||
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 6 | ||||
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 1 |
4 files changed, 8 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S index 600ea19d08b5..b102e3a2415e 100644 --- a/arch/powerpc/kernel/head_32.S +++ b/arch/powerpc/kernel/head_32.S | |||
@@ -271,6 +271,9 @@ __secondary_hold_acknowledge: | |||
271 | li r10,MSR_KERNEL & ~(MSR_IR|MSR_DR); /* can take exceptions */ \ | 271 | li r10,MSR_KERNEL & ~(MSR_IR|MSR_DR); /* can take exceptions */ \ |
272 | MTMSRD(r10); /* (except for mach check in rtas) */ \ | 272 | MTMSRD(r10); /* (except for mach check in rtas) */ \ |
273 | stw r0,GPR0(r11); \ | 273 | stw r0,GPR0(r11); \ |
274 | lis r10,0x7265; /* put exception frame marker */ \ | ||
275 | addi r10,r10,0x6773; \ | ||
276 | stw r10,8(r11); \ | ||
274 | SAVE_4GPRS(3, r11); \ | 277 | SAVE_4GPRS(3, r11); \ |
275 | SAVE_2GPRS(7, r11) | 278 | SAVE_2GPRS(7, r11) |
276 | 279 | ||
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index 5f3a12bb8961..8bc540337ba0 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c | |||
@@ -44,7 +44,6 @@ | |||
44 | #include <asm/cputable.h> | 44 | #include <asm/cputable.h> |
45 | #include <asm/btext.h> | 45 | #include <asm/btext.h> |
46 | #include <asm/div64.h> | 46 | #include <asm/div64.h> |
47 | #include <asm/xmon.h> | ||
48 | 47 | ||
49 | #ifdef CONFIG_8xx | 48 | #ifdef CONFIG_8xx |
50 | #include <asm/commproc.h> | 49 | #include <asm/commproc.h> |
@@ -238,10 +237,6 @@ EXPORT_SYMBOL(console_drivers); | |||
238 | EXPORT_SYMBOL(cacheable_memcpy); | 237 | EXPORT_SYMBOL(cacheable_memcpy); |
239 | #endif | 238 | #endif |
240 | 239 | ||
241 | #ifdef CONFIG_XMON | ||
242 | EXPORT_SYMBOL(xmon); | ||
243 | EXPORT_SYMBOL(xmon_printf); | ||
244 | #endif | ||
245 | EXPORT_SYMBOL(__up); | 240 | EXPORT_SYMBOL(__up); |
246 | EXPORT_SYMBOL(__down); | 241 | EXPORT_SYMBOL(__down); |
247 | EXPORT_SYMBOL(__down_interruptible); | 242 | EXPORT_SYMBOL(__down_interruptible); |
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index 7c99e6b8c76c..9680ae99b084 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c | |||
@@ -302,8 +302,10 @@ void __init setup_arch(char **cmdline_p) | |||
302 | 302 | ||
303 | #ifdef CONFIG_XMON | 303 | #ifdef CONFIG_XMON |
304 | xmon_map_scc(); | 304 | xmon_map_scc(); |
305 | if (strstr(cmd_line, "xmon")) | 305 | if (strstr(cmd_line, "xmon")) { |
306 | xmon(NULL); | 306 | xmon_init(1); |
307 | debugger(NULL); | ||
308 | } | ||
307 | #endif /* CONFIG_XMON */ | 309 | #endif /* CONFIG_XMON */ |
308 | if ( ppc_md.progress ) ppc_md.progress("setup_arch: enter", 0x3eab); | 310 | if ( ppc_md.progress ) ppc_md.progress("setup_arch: enter", 0x3eab); |
309 | 311 | ||
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 950e6f0fea98..681537f8ea10 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -59,6 +59,7 @@ | |||
59 | #include <asm/iSeries/ItLpNaca.h> | 59 | #include <asm/iSeries/ItLpNaca.h> |
60 | #include <asm/firmware.h> | 60 | #include <asm/firmware.h> |
61 | #include <asm/systemcfg.h> | 61 | #include <asm/systemcfg.h> |
62 | #include <asm/xmon.h> | ||
62 | 63 | ||
63 | #ifdef DEBUG | 64 | #ifdef DEBUG |
64 | #define DBG(fmt...) udbg_printf(fmt) | 65 | #define DBG(fmt...) udbg_printf(fmt) |