csky: Implement copy_thread_tls
authorGuo Ren <guoren@linux.alibaba.com>
Wed, 12 Feb 2020 02:24:52 +0000 (10:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 12:00:32 +0000 (13:00 +0100)
commit09a8dd779e477ca6f4ab716baf5a9b5a6f2fd1c9
tree625a1cc8f0cb8857e432b9586a5c99befc31413f
parente28c9b3caf6b0998b8d5f779e908920408c133e0
csky: Implement copy_thread_tls

commit 0b9f386c4be6493d282aab0af6f9b70c62142777 upstream.

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

Cc: Amanieu d'Antras <amanieu@gmail.com>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/csky/Kconfig
arch/csky/kernel/process.c