aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-10-19 09:29:20 +0200
committerMichael Ellerman <[email protected]>2021-12-09 22:41:18 +1100
commitba454f9c8e4efcc47c772b7642a5c8c6d1343cbf (patch)
tree7d18511d4e3591e93e26f9b64735fcd93d9ab9e7 /tools/perf/scripts/python
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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/eaef143a8dae7288cd34565ffa7b49c16aee1ec3.1634627931.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions