nds32: switch to copy_thread_tls()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 24 May 2020 21:20:53 +0000 (23:20 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 4 Jul 2020 21:41:37 +0000 (23:41 +0200)
commit1dd966ea63f46b82ae9e367de22e3f8c70450fd5
tree3f9a962400eedf9e033901e481e107dee09e5dee
parentad1bb82c057ecebfdb0b619e023c57b425ef7e7e
nds32: switch to copy_thread_tls()

Use the copy_thread_tls() calling convention which passes tls through a
register. This is required so we can remove the copy_thread{_tls}() split
and remove the HAVE_COPY_THREAD_TLS macro.

Cc: Greentime Hu <green.hu@gmail.com>
Cc: Nick Hu <nickhu@andestech.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
arch/nds32/Kconfig
arch/nds32/kernel/process.c