]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/book3s64/pkeys: Use pkey_execute_disable_supported
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 9 Jul 2020 03:29:38 +0000 (08:59 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Jul 2020 12:57:59 +0000 (22:57 +1000)
commitdcde2750c4fdb96b4bd48444993aff2c50e2db7a
treebfbad7864943595b4b33b6f7227ba006483aea08
parent292afea55b938e3fb955f4caf2b250ba35f0543f
powerpc/book3s64/pkeys: Use pkey_execute_disable_supported

Use pkey_execute_disable_supported to check for execute key support instead
of pkey_disabled.

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-16-aneesh.kumar@linux.ibm.com
arch/powerpc/include/asm/pkeys.h
arch/powerpc/mm/book3s64/pkeys.c