OSDN Git Service

s390: opt into HAVE_COPY_THREAD_TLS
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 20 Feb 2017 08:38:42 +0000 (09:38 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 23 Feb 2017 09:06:38 +0000 (10:06 +0100)
commitf50c0e6371c960ad3481daa4504b33a9de4e9d01
tree60ca907f77efed44cdc3894e4ddb8ccfe084d156
parentb5a882fcf146c87cb6b67c6df353e1c042b8773d
s390: opt into HAVE_COPY_THREAD_TLS

This the s390 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: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Kconfig
arch/s390/kernel/process.c