mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
powerpc/pkeys: Remove unused code
This removes arch_supports_pkeys(), arch_usable_pkeys() and thread_pkey_regs_*() which are remnants from the following: commit06bb53b338("powerpc: store and restore the pkey state across context switches") commit2cd4bd192e("powerpc/pkeys: Fix handling of pkey state across fork()") commitcf43d3b264("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: commitd5fa30e699("powerpc/book3s64/pkeys: Reset userspace AMR correctly on exec") commit48a8ab4eeb("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
This commit is contained in:
parent
ea7826583f
commit
266d8f7586
2 changed files with 0 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue