Commit b87cf911 authored by Ard Biesheuvel's avatar Ard Biesheuvel

ARM: use TLS register for 'current' on !SMP as well

Enable the use of the TLS register to hold the 'current' pointer also on
non-SMP configurations that target v6k or later CPUs. This will permit
the use of THREAD_INFO_IN_TASK as well as IRQ stacks and vmap'ed stacks
for such configurations.
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarNicolas Pitre <nico@fluxnic.net>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Tested-by: default avatarMarc Zyngier <maz@kernel.org>
Tested-by: Vladimir Murzin <vladimir.murzin@arm.com> # ARMv7M
parent 7b9896c3
...@@ -1154,7 +1154,7 @@ config SMP_ON_UP ...@@ -1154,7 +1154,7 @@ config SMP_ON_UP
config CURRENT_POINTER_IN_TPIDRURO config CURRENT_POINTER_IN_TPIDRURO
def_bool y def_bool y
depends on SMP && CPU_32v6K && !CPU_V6 depends on CPU_32v6K && !CPU_V6
config IRQSTACKS config IRQSTACKS
def_bool y def_bool y
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment