From: LEROY Christophe Date: Fri, 19 Sep 2014 08:36:08 +0000 (+0200) Subject: powerpc/8xx: No need to restore registers and save them again. X-Git-Tag: v3.19-rc1~22^2~23^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6cde2b6f399e7d68a4b482680850a077104f9068;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Scott Wood --- diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index 464be24..c061bc8 100644 --- a/arch/powerpc/kernel/head_8xx.S +++ b/arch/powerpc/kernel/head_8xx.S @@ -481,8 +481,8 @@ DataTLBError: cmpwi cr0, r11, 0x00f0 beq- FixupDAR /* must be a buggy dcbX, icbi insn. */ DARFixed:/* Return from dcbx instruction bug workaround */ - EXCEPTION_EPILOG_0 - EXCEPTION_PROLOG + EXCEPTION_PROLOG_1 + EXCEPTION_PROLOG_2 mfspr r10,SPRN_DSISR stw r10,_DSISR(r11) mr r5,r10