2004-06-30 00:34:53

by Matt Porter

[permalink] [raw]
Subject: [PATCH] PPC4xx preempt fix

PPC4xx preempt fixes. Based on previous Classic PPC patch.

Signed-off-by: Tom Rini <[email protected]>
Signed-off-by: Matt Porter <[email protected]>

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)