xtensa: Implement copy_thread_tls
authorAmanieu d'Antras <amanieu@gmail.com>
Thu, 2 Jan 2020 17:24:12 +0000 (18:24 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 7 Jan 2020 12:31:25 +0000 (13:31 +0100)
commitc346b94f8c5d1b7d637522c908209de93305a8eb
tree51c3062c64b2a423fd43e31404c2ca6b29afbe1e
parent20bda4ed62f507ed72e30e817b43c65fdba60be7
xtensa: Implement copy_thread_tls

This is required for clone3 which passes the TLS value through a
struct rather than a register.

Signed-off-by: Amanieu d'Antras <amanieu@gmail.com>
Cc: linux-xtensa@linux-xtensa.org
Cc: <stable@vger.kernel.org> # 5.3.x
Link: https://lore.kernel.org/r/20200102172413.654385-7-amanieu@gmail.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
arch/xtensa/Kconfig
arch/xtensa/kernel/process.c