summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_32.S
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-01-12 13:45:21 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-16 23:47:12 +1100
commitbb9b5a8332533ac7935ca6edfc7ebf15a5366f11 (patch)
tree1a70ae96ce4ebf68c00ba41e6a6dc3212c95df79 /arch/powerpc/kernel/entry_32.S
parent2a45addd21de25f41c8f21a6f08f0980e583d596 (diff)
downloadlinux-stable-bb9b5a8332533ac7935ca6edfc7ebf15a5366f11.tar.gz
linux-stable-bb9b5a8332533ac7935ca6edfc7ebf15a5366f11.tar.bz2
linux-stable-bb9b5a8332533ac7935ca6edfc7ebf15a5366f11.zip
powerpc/8xx: remove EXCEPTION_PROLOG/EPILOG_0 and change r3 to r12
EXCEPTION_PROLOG_0 and EXCEPTION_EPILOG_0 were added some time ago in order to regroup the two mtspr/mfspr to SCRATCH0 and SCRATCH1 and the mfcr/mtcr in order to ease entry and exit of function not using the full EXCEPTION_PROLOG. Since then, the mfcr/mtcr has been taken out, hence just leaving the two mtspr/mfspr in the macro. In order to improve readability of the exception functions, we remove those two macros and copy back the two mtspr/mfspr instead. As r10 and r11 are used for SCRATCH0 and SCRATCH1, lets also use r12 for SCRATCH2. It will also improve the readability/maintenance. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/entry_32.S')
0 files changed, 0 insertions, 0 deletions