Kaynağa Gözat

ARM: 7323/1: Do not allow ARM_LPAE on pre-ARMv7 architectures

This patch expands the Kconfig dependencies for ARM_LPAE to not allow
enabling when architectures other than ARMv7 are built into the kernel.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Catalin Marinas 13 yıl önce
ebeveyn
işleme
08a183f02b
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      arch/arm/mm/Kconfig

+ 2 - 1
arch/arm/mm/Kconfig

@@ -631,7 +631,8 @@ comment "Processor Features"
 
 
 config ARM_LPAE
 config ARM_LPAE
 	bool "Support for the Large Physical Address Extension"
 	bool "Support for the Large Physical Address Extension"
-	depends on MMU && CPU_V7
+	depends on MMU && CPU_32v7 && !CPU_32v6 && !CPU_32v5 && \
+		!CPU_32v4 && !CPU_32v3
 	help
 	help
 	  Say Y if you have an ARMv7 processor supporting the LPAE page
 	  Say Y if you have an ARMv7 processor supporting the LPAE page
 	  table format and you would like to access memory beyond the
 	  table format and you would like to access memory beyond the