[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>

authored by

Russell King and committed by
Russell King
48fa14f7 74945c86

+6 -2
+6 -2
arch/arm/mm/Kconfig
··· 266 # This defines the compiler instruction set which depends on the machine type. 267 config CPU_32v3 268 bool 269 270 config CPU_32v4 271 bool 272 273 config CPU_32v5 274 bool 275 276 config CPU_32v6 277 bool ··· 423 424 config TLS_REG_EMUL 425 bool 426 - default y if SMP && (CPU_32v5 || CPU_32v4 || CPU_32v3) 427 help 428 An SMP system using a pre-ARMv6 processor (there are apparently 429 a few prototypes like that in existence) and therefore access to ··· 441 442 config NEEDS_SYSCALL_FOR_CMPXCHG 443 bool 444 - default y if SMP && (CPU_32v5 || CPU_32v4 || CPU_32v3) 445 help 446 SMP on a pre-ARMv6 processor? Well OK then. 447 Forget about fast user space cmpxchg support.
··· 266 # This defines the compiler instruction set which depends on the machine type. 267 config CPU_32v3 268 bool 269 + select TLS_REG_EMUL if SMP 270 + select NEEDS_SYSCALL_FOR_CMPXCHG if SMP 271 272 config CPU_32v4 273 bool 274 + select TLS_REG_EMUL if SMP 275 + select NEEDS_SYSCALL_FOR_CMPXCHG if SMP 276 277 config CPU_32v5 278 bool 279 + select TLS_REG_EMUL if SMP 280 + select NEEDS_SYSCALL_FOR_CMPXCHG if SMP 281 282 config CPU_32v6 283 bool ··· 417 418 config TLS_REG_EMUL 419 bool 420 help 421 An SMP system using a pre-ARMv6 processor (there are apparently 422 a few prototypes like that in existence) and therefore access to ··· 436 437 config NEEDS_SYSCALL_FOR_CMPXCHG 438 bool 439 help 440 SMP on a pre-ARMv6 processor? Well OK then. 441 Forget about fast user space cmpxchg support.