Commit d74f0f95 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: xmon oops-the-kernel option

From: Anton Blanchard <anton@samba.org>

Sometimes we just want to pass the error up to the kernel and let it oops.
X it is.
parent 62c2f777
......@@ -173,7 +173,8 @@ Commands:\n\
S print special registers\n\
t print backtrace\n\
T Enable/Disable PPCDBG flags\n\
x exit monitor\n\
x exit monitor and recover\n\
X exit monitor and dont recover\n\
u dump segment table or SLB\n\
? help\n"
"\
......@@ -340,6 +341,9 @@ xmon(struct pt_regs *excp)
#endif /* CONFIG_SMP */
set_msrd(msr); /* restore interrupt enable */
if (cmd == 'X')
return 0;
return 1;
}
......@@ -559,6 +563,7 @@ cmds(struct pt_regs *excp)
break;
case 's':
case 'x':
case 'X':
case EOF:
return cmd;
case '?':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment