summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King2006-03-16 15:52:33 +0100
committerRussell King2006-03-21 23:03:26 +0100
commit48fa14f7618fe89cac9b807b05b66df4b595fc7e (patch)
tree66bd0889f1182c8716dd2613a1e23bed57374682
parent[ARM] nommu: Move hardware page table definitions to pgtable-hwdef.h (diff)
downloadkernel-qcow2-linux-48fa14f7618fe89cac9b807b05b66df4b595fc7e.tar.gz
kernel-qcow2-linux-48fa14f7618fe89cac9b807b05b66df4b595fc7e.tar.xz
kernel-qcow2-linux-48fa14f7618fe89cac9b807b05b66df4b595fc7e.zip
[ARM] select TLS_REG_EMUL and NEEDS_SYSCALL_FOR_CMPXCHG
Rather than having a growing dependency line, use select to set these configuration symbols. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mm/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index 3b79d0e23455..57a48d92ac41 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -266,12 +266,18 @@ config CPU_32v6K
# This defines the compiler instruction set which depends on the machine type.
config CPU_32v3
bool
+ select TLS_REG_EMUL if SMP
+ select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
config CPU_32v4
bool
+ select TLS_REG_EMUL if SMP
+ select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
config CPU_32v5
bool
+ select TLS_REG_EMUL if SMP
+ select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
config CPU_32v6
bool
@@ -417,7 +423,6 @@ config CPU_BPREDICT_DISABLE
config TLS_REG_EMUL
bool
- default y if SMP && (CPU_32v5 || CPU_32v4 || CPU_32v3)
help
An SMP system using a pre-ARMv6 processor (there are apparently
a few prototypes like that in existence) and therefore access to
@@ -436,7 +441,6 @@ config HAS_TLS_REG
config NEEDS_SYSCALL_FOR_CMPXCHG
bool
- default y if SMP && (CPU_32v5 || CPU_32v4 || CPU_32v3)
help
SMP on a pre-ARMv6 processor? Well OK then.
Forget about fast user space cmpxchg support.