]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc64: Make xmon survive exit after soft reset
authorAndrew Morton <akpm@osdl.org>
Sat, 6 Mar 2004 16:48:23 +0000 (08:48 -0800)
committerJaroslav Kysela <perex@suse.cz>
Sat, 6 Mar 2004 16:48:23 +0000 (08:48 -0800)
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

index d8699131cbe21e7145f961e1d9e059251666d440..8981647adf86ddcb341e9f62332f5ab23159f7a4 100644 (file)
@@ -344,7 +344,7 @@ xmon(struct pt_regs *excp)
 #endif /* CONFIG_SMP */
        set_msrd(msr);          /* restore interrupt enable */
 
-       return 0;
+       return 1;
 }
 
 int