diff options
author | Sandipan Das <sandipan@linux.ibm.com> | 2021-02-02 20:30:50 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-09 01:09:44 +1100 |
commit | 266d8f7586533a4c473ccb392204e32df99b72b5 (patch) | |
tree | 31783f7fc21d566a5cb8457cb10fd588957dbecc /arch/powerpc/perf | |
parent | ea7826583f5ed7abca97e6e56441caadcbbd957a (diff) | |
download | linux-266d8f7586533a4c473ccb392204e32df99b72b5.tar.gz linux-266d8f7586533a4c473ccb392204e32df99b72b5.tar.bz2 linux-266d8f7586533a4c473ccb392204e32df99b72b5.zip |
powerpc/pkeys: Remove unused code
This removes arch_supports_pkeys(), arch_usable_pkeys() and
thread_pkey_regs_*() which are remnants from the following:
commit 06bb53b33804 ("powerpc: store and restore the pkey state across context switches")
commit 2cd4bd192ee9 ("powerpc/pkeys: Fix handling of pkey state across fork()")
commit cf43d3b26452 ("powerpc: Enable pkey subsystem")
arch_supports_pkeys() and arch_usable_pkeys() were unused
since their introduction while thread_pkey_regs_*() became
unused after the introduction of the following:
commit d5fa30e6993f ("powerpc/book3s64/pkeys: Reset userspace AMR correctly on exec")
commit 48a8ab4eeb82 ("powerpc/book3s64/pkeys: Don't update SPRN_AMR when in kernel mode")
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Reviewed-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210202150050.75335-1-sandipan@linux.ibm.com
Diffstat (limited to 'arch/powerpc/perf')
0 files changed, 0 insertions, 0 deletions