csky: Implement copy_thread_tls
authorGuo Ren <guoren@linux.alibaba.com>
Wed, 12 Feb 2020 02:24:52 +0000 (10:24 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 21 Feb 2020 07:43:25 +0000 (15:43 +0800)
commit0b9f386c4be6493d282aab0af6f9b70c62142777
tree41b2b3541a5d776249ddafa659408ba88ece742b
parent5b49c82dadfe0f3741778f57385f964ec1514863
csky: Implement copy_thread_tls

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>
arch/csky/Kconfig
arch/csky/kernel/process.c