OSDN Git Service

powerpc/book3s64/pkeys: Use MMU_FTR_PKEY instead of pkey_disabled static key
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 9 Jul 2020 03:29:39 +0000 (08:59 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Jul 2020 12:57:59 +0000 (22:57 +1000)
commitf7045a45115b17fe695ea7075f5213706f202edb
treefd5af6f2593f50d9a7d3af5d6257a0393c2073df
parent2daf298de728dc37f32d0749fa4f59db36fa7d96
powerpc/book3s64/pkeys: Use MMU_FTR_PKEY instead of pkey_disabled static key

Instead of pkey_disabled static key use mmu feature MMU_FTR_PKEY.

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