[PATCH] powerpc/memkey: feature applies to PPC_BOOK3S_64 archs only
Ram Pai
linuxram at us.ibm.com
Wed Oct 11 03:22:40 AEDT 2017
Currently protection key feature is erroneously configured to
be enabled for any flavor of PPC64. This patch fixes it.
Signed-off-by: Ram Pai <linuxram at us.ibm.com>
---
arch/powerpc/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 7dee449..4b2b055 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -868,7 +868,7 @@ config PPC64_MEMORY_PROTECTION_KEYS
prompt "PowerPC Memory Protection Keys"
def_bool y
# Note: only available in 64-bit mode
- depends on PPC64
+ depends on PPC_BOOK3S_64
select ARCH_USES_HIGH_VMA_FLAGS
select ARCH_HAS_PKEYS
---help---
--
1.7.1
More information about the Linuxppc-dev
mailing list