Commit 6cde2b6f authored by LEROY Christophe's avatar LEROY Christophe Committed by Scott Wood

powerpc/8xx: No need to restore registers and save them again.

In DTLBError handler there is not need to restore r10, r11 and cr registers
after fixing DAR as they are saved again to the same place just after.
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 749137a2
...@@ -481,8 +481,8 @@ DataTLBError: ...@@ -481,8 +481,8 @@ DataTLBError:
cmpwi cr0, r11, 0x00f0 cmpwi cr0, r11, 0x00f0
beq- FixupDAR /* must be a buggy dcbX, icbi insn. */ beq- FixupDAR /* must be a buggy dcbX, icbi insn. */
DARFixed:/* Return from dcbx instruction bug workaround */ DARFixed:/* Return from dcbx instruction bug workaround */
EXCEPTION_EPILOG_0 EXCEPTION_PROLOG_1
EXCEPTION_PROLOG EXCEPTION_PROLOG_2
mfspr r10,SPRN_DSISR mfspr r10,SPRN_DSISR
stw r10,_DSISR(r11) stw r10,_DSISR(r11)
mr r5,r10 mr r5,r10
......
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