Commit 36ec6deb authored by Anton Blanchard's avatar Anton Blanchard

ppc64: Release the FWNMI area during a system reset, fixes xmon.

parent 1da3174f
......@@ -128,13 +128,12 @@ void
SystemResetException(struct pt_regs *regs)
{
if (fwnmi_active) {
char *msg;
unsigned long *r3 = __va(regs->gpr[3]); /* for FWNMI debug */
struct rtas_error_log *errlog;
msg = "FWNMI is active with save area at %016lx\n";
udbg_printf(msg, r3); printk(msg, r3);
udbg_printf("FWNMI is active with save area at %016lx\n", r3);
errlog = FWNMI_get_errinfo(regs);
FWNMI_release_errinfo();
}
if (debugger)
......
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