diff options
author | Ard Biesheuvel <[email protected]> | 2021-09-18 10:44:36 +0200 |
---|---|---|
committer | Ard Biesheuvel <[email protected]> | 2021-09-27 16:54:02 +0200 |
commit | 3855ab614df4818c833864572559a97fd9f9a299 (patch) | |
tree | b20a006393d34ca2b1905054928bcc9f9dce6d16 /scripts/gcc-plugins/randomize_layout_plugin.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 <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Tested-by: Amit Daniel Kachhap <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions