Commit 5af2c131 authored by Andrew Morton's avatar Andrew Morton Committed by Jaroslav Kysela

[PATCH] ppc64: Make xmon survive exit after soft reset

From: Olof Johansson <olof@austin.ibm.com>

Below patch makes xmon survive a softreset invokation (and quite likely
invocations because of other traps as well).
parent 20e39386
...@@ -344,7 +344,7 @@ xmon(struct pt_regs *excp) ...@@ -344,7 +344,7 @@ xmon(struct pt_regs *excp)
#endif /* CONFIG_SMP */ #endif /* CONFIG_SMP */
set_msrd(msr); /* restore interrupt enable */ set_msrd(msr); /* restore interrupt enable */
return 0; return 1;
} }
int int
......
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