diff options
| author | Ard Biesheuvel <[email protected]> | 2021-11-25 22:21:45 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2021-12-06 11:49:17 +0000 |
| commit | c2755910373bb5dfb9aa68ba2924036686815c9e (patch) | |
| tree | b54e4da6d120da7e911016e4e8d1560ca6dd2d22 /arch/arm/include/asm/assembler.h | |
| parent | ARM: use TLS register for 'current' on !SMP as well (diff) | |
| download | kernel-c2755910373bb5dfb9aa68ba2924036686815c9e.tar.gz kernel-c2755910373bb5dfb9aa68ba2924036686815c9e.zip | |
ARM: smp: defer TPIDRURO update for SMP v6 configurations too
Defer TPIDURO updates for user space until exit also for CPU_V6+SMP
configurations so that we can decide at runtime whether to use it to
carry the current pointer, provided that we are running on a CPU that
actually implements this register. This is needed for
THREAD_INFO_IN_TASK support for UP systems, which requires that all SMP
capable systems use the TPIDRURO based access to 'current' as the only
remaining alternative will be a global variable which only works on UP.
Acked-by: Linus Walleij <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Tested-by: Marc Zyngier <[email protected]>
Tested-by: Vladimir Murzin <[email protected]> # ARMv7M
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions
