aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/xmon/start.c
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-08-04 13:26:42 -0400
committerPaul Mackerras <paulus@samba.org>2005-08-28 20:53:37 -0400
commitb13cfd173f73c3f6f9a307b7b6e64d45fbd756b2 (patch)
tree47d9a6ab54c4b068e3300d026c4402c14f53d384 /arch/ppc64/xmon/start.c
parentbef5686229810709091fb6e505071f4aa41e3760 (diff)
[PATCH] ppc64: allow xmon=off
If both CONFIG_XMON and CONFIG_XMON_DEFAULT is enabled in the .config, there is no way to disable xmon again. setup_system calls first xmon_init, later parse_early_param. So a new 'xmon=off' cmdline option will do the right thing. Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/xmon/start.c')
-rw-r--r--arch/ppc64/xmon/start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/xmon/start.c b/arch/ppc64/xmon/start.c
index a9265bcc79b2..f86b584acd76 100644
--- a/arch/ppc64/xmon/start.c
+++ b/arch/ppc64/xmon/start.c
@@ -27,7 +27,7 @@ static void sysrq_handle_xmon(int key, struct pt_regs *pt_regs,
27 struct tty_struct *tty) 27 struct tty_struct *tty)
28{ 28{
29 /* ensure xmon is enabled */ 29 /* ensure xmon is enabled */
30 xmon_init(); 30 xmon_init(1);
31 debugger(pt_regs); 31 debugger(pt_regs);
32} 32}
33 33