]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfaff5851d8734b08de8a406e6779d9e29976bcae
tree09e2bc4406906662d6d8602086bdd773903d2aa7
parent788781fa721372e1cb90c5bcdc7e049d73d643ab
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