sh: switch to copy_thread_tls()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 24 May 2020 21:26:47 +0000 (23:26 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 4 Jul 2020 21:41:37 +0000 (23:41 +0200)
commit15350c4226c7a3cdce4f2feb0fb96ed0986cf9a5
tree95a5c940d1b8ea500c9746897ac84639173a7646
parent1dd966ea63f46b82ae9e367de22e3f8c70450fd5
sh: 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: Rich Felker <dalias@libc.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
arch/sh/Kconfig
arch/sh/kernel/process_32.c