aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2022-03-08 23:50:40 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-19 23:11:27 +1000
commit5c86bd02b3c3ef68a109fa7e690ad62d3091f6d4 (patch)
tree125548c7c002ac82fb973d2c8b5bc57a18d50b73 /arch/powerpc/lib/code-patching.c
parentc5a65e0a420d50655bf692fc7386813683c0cd81 (diff)
downloadlinux-5c86bd02b3c3ef68a109fa7e690ad62d3091f6d4.tar.gz
linux-5c86bd02b3c3ef68a109fa7e690ad62d3091f6d4.tar.bz2
linux-5c86bd02b3c3ef68a109fa7e690ad62d3091f6d4.zip
powerpc/rtas: PACA can be restored directly from SPRG
On 64-bit, PACA is saved in a SPRG so it does not need to be saved on stack. We also don't need to mask off the top bits for real mode addresses because the architecture does this for us. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220308135047.478297-8-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions