ARM: 7323/1: Do not allow ARM_LPAE on pre-ARMv7 architectures
authorCatalin Marinas <[email protected]>
Tue, 14 Feb 2012 15:33:27 +0000 (16:33 +0100)
committerRussell King <[email protected]>
Wed, 15 Feb 2012 11:04:36 +0000 (11:04 +0000)
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 <[email protected]>
Reported-by: Russell King <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/mm/Kconfig

index 1a3ca2488164033ea4328b32ce50c517cf4e908b..7edef9121632ed94c8e477d64385625040da92a7 100644 (file)
@@ -631,7 +631,8 @@ comment "Processor Features"
 
 config ARM_LPAE
        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
          Say Y if you have an ARMv7 processor supporting the LPAE page
          table format and you would like to access memory beyond the