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