[ARM] 4501/1: nommu: Select TLS register emulation if ARMv6 and not v6K
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 20 Jul 2007 10:42:51 +0000 (11:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 Jul 2007 20:29:48 +0000 (21:29 +0100)
If not MMU and not v6K, access to the TLS register has to be
emulated. MMU-less systems do not provide a high page for kuser
helpers.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/Kconfig

index e7904bc..cccacd9 100644 (file)
@@ -405,6 +405,7 @@ config CPU_32v5
 
 config CPU_32v6
        bool
+       select TLS_REG_EMUL if !CPU_32v6K && !MMU
 
 config CPU_32v7
        bool