[PATCH v3 1/5] arm64/processor: Update documentation for tls_preserve_current_state()
Mark Brown
broonie at kernel.org
Fri Nov 18 08:22:20 PST 2022
tls_preserve_current_state() has been extended to sync TPIDR2_EL0 as well
as TPIDR_EL0, update the comment in the header to reflect this.
Signed-off-by: Mark Brown <broonie at kernel.org>
---
arch/arm64/include/asm/processor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h
index 445aa3af3b76..347075fdcdb5 100644
--- a/arch/arm64/include/asm/processor.h
+++ b/arch/arm64/include/asm/processor.h
@@ -263,7 +263,7 @@ static inline void arch_thread_struct_whitelist(unsigned long *offset,
#define task_user_tls(t) (&(t)->thread.uw.tp_value)
#endif
-/* Sync TPIDR_EL0 back to thread_struct for current */
+/* Sync TPIDR_EL0 and TPIDR2_EL0 back to thread_struct for current */
void tls_preserve_current_state(void);
#define INIT_THREAD { \
--
2.30.2
More information about the linux-arm-kernel
mailing list