summaryrefslogtreecommitdiff
path: root/arch/powerpc/Makefile.postlink
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-06-03 11:41:37 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-16 17:09:07 +0300
commit91bb30822a2e1d7900f9f42e9e92647a9015f979 (patch)
tree65b175ba7614d99c0cfe3a49a1f4504cca0d7e4a /arch/powerpc/Makefile.postlink
parent91ec66719d4c5c0e7b4e32585b01881660d1bc53 (diff)
downloadlinux-91bb30822a2e1d7900f9f42e9e92647a9015f979.tar.xz
powerpc/32s: Refactor update of user segment registers
KUEP implements the update of user segment registers. Move it into mmu-hash.h in order to use it from other places. And inline kuep_lock() and kuep_unlock(). Inlining kuep_lock() is important for system_call_exception(), otherwise system_call_exception() has to save into stack the system call parameters that are used just after, and doing that takes more instructions than kuep_lock() itself. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/24591ca480d14a62ef910e38a5273d551262c4a2.1622708530.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/Makefile.postlink')
0 files changed, 0 insertions, 0 deletions