commit | 3787799e8f6f0b3ca96c544a758f7c13f6e9442b | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ardb@kernel.org> | Mon Sep 06 10:37:29 2021 +0200 |
committer | Ard Biesheuvel <ardb@kernel.org> | Tue Sep 07 16:39:54 2021 +0200 |
tree | dbace853ac86d4490e18a54f778d88d5d299f38d | |
parent | ef9aa0cec5fd89e3c5ea18c627fad75b1d77a0ac [diff] |
ARM: smp: store current pointer in TPIDRURO register if available Use the user space TLS register TPIDRURO to keep the 'current' pointer while running in the kernel. This removes the need to access it via thread_info, which is located at the base of the stack, but will be moved out of there in a subsequent patch. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>