diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2021-09-18 11:44:36 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2021-09-27 17:54:02 +0300 |
commit | 3855ab614df4818c833864572559a97fd9f9a299 (patch) | |
tree | b20a006393d34ca2b1905054928bcc9f9dce6d16 /arch/arm/kernel/head-common.S | |
parent | 19f29aebd929c31c5cc901f38a9295617b602c38 (diff) | |
download | linux-3855ab614df4818c833864572559a97fd9f9a299.tar.xz |
ARM: smp: Free up the TLS register while running in the kernel
To prepare for a subsequent patch that stores the current task pointer
in the user space TLS register while running in the kernel, modify the
set_tls and switch_tls routines not to touch the register directly, and
update the return to user space code to load the correct value.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Diffstat (limited to 'arch/arm/kernel/head-common.S')
0 files changed, 0 insertions, 0 deletions