summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/user.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-10-19 09:29:20 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-12-09 22:41:18 +1100
commitba454f9c8e4efcc47c772b7642a5c8c6d1343cbf (patch)
tree7d18511d4e3591e93e26f9b64735fcd93d9ab9e7 /arch/powerpc/include/asm/user.h
parent6754862249d324b11f1361a5353e234325d805ec (diff)
powerpc/kuap: Add a generic intermediate layer
Make the following functions generic to all platforms. - bad_kuap_fault() - kuap_assert_locked() - kuap_save_and_lock() (PPC32 only) - kuap_kernel_restore() - kuap_get_and_assert_locked() And for all platforms except book3s/64 - allow_user_access() - prevent_user_access() - prevent_user_access_return() - restore_user_access() Prepend __ in front of the name of platform specific ones. For now the generic just calls the platform specific, but next patch will move redundant parts of specific functions into the generic one. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/eaef143a8dae7288cd34565ffa7b49c16aee1ec3.1634627931.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/include/asm/user.h')
0 files changed, 0 insertions, 0 deletions