aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLEROY Christophe <christophe.leroy@c-s.fr>2014-09-19 04:36:08 -0400
committerScott Wood <scottwood@freescale.com>2014-11-07 19:10:39 -0500
commit6cde2b6f399e7d68a4b482680850a077104f9068 (patch)
treeb00920b419103efbc2fb4851c826bcd1e1e7cc9c
parent749137a2516aea627cbdd49140e60bb60d80f18e (diff)
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: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Scott Wood <scottwood@freescale.com>
-rw-r--r--arch/powerpc/kernel/head_8xx.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S
index 464be24fd3eb..c061bc8d9045 100644
--- a/arch/powerpc/kernel/head_8xx.S
+++ b/arch/powerpc/kernel/head_8xx.S
@@ -481,8 +481,8 @@ DataTLBError:
481 cmpwi cr0, r11, 0x00f0 481 cmpwi cr0, r11, 0x00f0
482 beq- FixupDAR /* must be a buggy dcbX, icbi insn. */ 482 beq- FixupDAR /* must be a buggy dcbX, icbi insn. */
483DARFixed:/* Return from dcbx instruction bug workaround */ 483DARFixed:/* Return from dcbx instruction bug workaround */
484 EXCEPTION_EPILOG_0 484 EXCEPTION_PROLOG_1
485 EXCEPTION_PROLOG 485 EXCEPTION_PROLOG_2
486 mfspr r10,SPRN_DSISR 486 mfspr r10,SPRN_DSISR
487 stw r10,_DSISR(r11) 487 stw r10,_DSISR(r11)
488 mr r5,r10 488 mr r5,r10