]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Implement copy_thread_tls
authorAmanieu d'Antras <amanieu@gmail.com>
Thu, 2 Jan 2020 17:24:11 +0000 (18:24 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 7 Jan 2020 12:31:23 +0000 (13:31 +0100)
commit235618d198446e5f39fdca667f789b738a36621f
tree5ccc07a7b082c184f4b1a76b2243775df0bb8d62
parentaa0b7012a097695fb11a5f599625295b5860a60d
riscv: 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-riscv@lists.infradead.org
Cc: <stable@vger.kernel.org> # 5.3.x
Link: https://lore.kernel.org/r/20200102172413.654385-6-amanieu@gmail.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
arch/riscv/Kconfig
arch/riscv/kernel/process.c