diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2021-09-18 10:44:36 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2021-09-27 16:54:02 +0200 |
commit | 3855ab614df4818c833864572559a97fd9f9a299 (patch) | |
tree | b20a006393d34ca2b1905054928bcc9f9dce6d16 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 19f29aebd929c31c5cc901f38a9295617b602c38 (diff) |
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 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions