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).


---

 arch/ppc64/xmon/xmon.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/ppc64/xmon/xmon.c~ppc64-xmon-survival-fix arch/ppc64/xmon/xmon.c
--- 25/arch/ppc64/xmon/xmon.c~ppc64-xmon-survival-fix	2004-03-02 18:46:52.000000000 -0800
+++ 25-akpm/arch/ppc64/xmon/xmon.c	2004-03-02 18:46:52.000000000 -0800
@@ -344,7 +344,7 @@ xmon(struct pt_regs *excp)
 #endif /* CONFIG_SMP */
 	set_msrd(msr);		/* restore interrupt enable */
 
-	return 0;
+	return 1;
 }
 
 int

_