diff options
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 | ||