OSDN Git Service

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)
commit2daf298de728dc37f32d0749fa4f59db36fa7d96
treebfbad7864943595b4b33b6f7227ba006483aea08
parente10cc8715d180509a367d3ab25d40e4a1612cb2f
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