]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/book3s64/pkeys: Remove is_pkey_enabled()
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 9 Jul 2020 03:29:46 +0000 (08:59 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Jul 2020 14:01:22 +0000 (00:01 +1000)
commit717373c763619979f9f1a1f4f8c722f90d9338c9
tree50358c9ef40b51c89febc9c4e8ac8525b6da5d7a
parent6c684e03d8f02d30e66c55d693edc10fdce30a50
powerpc/book3s64/pkeys: Remove is_pkey_enabled()

There is only one caller to this function and the function is wrongly
named. Avoid further confusion w.r.t name and open code this at the
only call site. Also remove read_uamor(). There are no users for
the same after this.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200709032946.881753-24-aneesh.kumar@linux.ibm.com
arch/powerpc/mm/book3s64/pkeys.c