ARM: v6k: select TLS register code according to V6 variants
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Mar 2011 23:48:05 +0000 (16:48 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 18 Mar 2011 23:48:05 +0000 (16:48 -0700)
If CONFIG_CPU_V6 is enabled, we may or may not have the TLS register.
Use the conditional code which copes with this variability.  Otherwise,
if CONFIG_CPU_32v6K is set, we know we have the TLS register on all
supported CPUs, so use it unconditionally.

Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found