]> git.karo-electronics.de Git - karo-tx-linux.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)
commitf9c4e3a6dae1a3a15055ea478438cdc0352e1af2
tree06fa77cb9876b229cdd181fac3ff97e17740df22
parent759f534e93ace6a94a3c0718611fcf70dd5f7809
MIPS: Opt into HAVE_COPY_THREAD_TLS

This the mips version of commit c1bd55f922a2d ("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 3033f14ab78c3 ("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