c6x: switch to copy_thread_tls()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 24 May 2020 21:14:23 +0000 (23:14 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 4 Jul 2020 21:41:36 +0000 (23:41 +0200)
commite0daa22c292b5835a946716b9a2092b30c7d9d31
tree07c6016f6e2ac4b66b530bd56c28c431c8410b21
parent0fdfc53f24cc460e93de57c014bc6e5460755073
c6x: 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: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
Cc: linux-c6x-dev@linux-c6x.org
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
arch/c6x/Kconfig
arch/c6x/kernel/process.c