Skip to content

Commit b87cf91

Browse files
committed
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: Linus Walleij <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Tested-by: Marc Zyngier <[email protected]> Tested-by: Vladimir Murzin <[email protected]> # ARMv7M
1 parent 7b9896c commit b87cf91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ config SMP_ON_UP
11541154

11551155
config CURRENT_POINTER_IN_TPIDRURO
11561156
def_bool y
1157-
depends on SMP && CPU_32v6K && !CPU_V6
1157+
depends on CPU_32v6K && !CPU_V6
11581158

11591159
config IRQSTACKS
11601160
def_bool y

0 commit comments

Comments
 (0)