[PATCH] PPC4xx preempt fix

From: Matt Porter
Date: Tue Jun 29 2004 - 19:37:30 EST


PPC4xx preempt fixes. Based on previous Classic PPC patch.

Signed-off-by: Tom Rini <trini@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Matt Porter <mporter@xxxxxxxxxxxxxxxxxxx>

arch/ppc/kernel/head_44x.S | 2 +-
arch/ppc/kernel/head_4xx.S | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- 1.9/arch/ppc/kernel/head_44x.S 2004-06-02 12:08:05 -07:00
+++ edited/arch/ppc/kernel/head_44x.S 2004-06-08 12:02:32 -07:00
@@ -680,7 +680,7 @@
mfspr r4,SPRN_ESR /* Grab the ESR and save it */
stw r4,_ESR(r11)
addi r3,r1,STACK_FRAME_OVERHEAD
- EXC_XFER_EE(0x700, ProgramCheckException)
+ EXC_XFER_STD(0x700, ProgramCheckException)

/* Floating Point Unavailable Interrupt */
EXCEPTION(0x2010, FloatingPointUnavailable, UnknownException, EXC_XFER_EE)
--- 1.34/arch/ppc/kernel/head_4xx.S 2004-06-02 12:08:05 -07:00
+++ edited/arch/ppc/kernel/head_4xx.S 2004-06-08 12:02:48 -07:00
@@ -451,7 +451,7 @@
mfspr r4,SPRN_ESR /* Grab the ESR and save it */
stw r4,_ESR(r11)
addi r3,r1,STACK_FRAME_OVERHEAD
- EXC_XFER_EE(0x700, ProgramCheckException)
+ EXC_XFER_STD(0x700, ProgramCheckException)

EXCEPTION(0x0800, Trap_08, UnknownException, EXC_XFER_EE)
EXCEPTION(0x0900, Trap_09, UnknownException, EXC_XFER_EE)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/