sh: switch to copy_thread_tls()
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 22 Jun 2020 23:43:23 +0000 (01:43 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:18 +0000 (22:05 -0400)
commite1cc9d8d596e233538a3ecaffea665185751db35
tree09e2bc4406906662d6d8602086bdd773903d2aa7
parent6dfdf673ccb24dccc95b342235cac3e585c5af34
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>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/Kconfig
arch/sh/kernel/process_32.c