]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Opt into HAVE_COPY_THREAD_TLS
authorJames Cowgill <James.Cowgill@imgtec.com>
Fri, 31 Mar 2017 16:09:58 +0000 (17:09 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Apr 2017 11:52:21 +0000 (13:52 +0200)
commit153b23826063dee16c42980daed636b033df8c06
tree06fa77cb9876b229cdd181fac3ff97e17740df22
parent3e89106d2a34c4da58ae4c515597586601a83168
MIPS: Opt into HAVE_COPY_THREAD_TLS

This the mips version of commit 3f627a3c3befb ("x86: opt into
HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit").

Simply use the tls system call argument instead of extracting the tls
argument by magic from the pt_regs structure.

See commit 4d047cf174a7f ("clone: support passing tls argument via C
rather than pt_regs magic") for more background.

Signed-off-by: James Cowgill <James.Cowgill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15855/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/process.c