]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: convert to copy_thread_tls
authorNicholas Piggin <npiggin@gmail.com>
Tue, 27 Aug 2019 03:30:06 +0000 (13:30 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Aug 2019 13:19:34 +0000 (23:19 +1000)
commitb4eae1debcd435722e75196b0f3d3a753b7e85d4
tree77428cecf566b96af47a3e91c155eeb7456442e5
parentf7cc22def5c582ab0191593a95862caf77744072
powerpc: convert to copy_thread_tls

Commit 4d047cf174a7f ("clone: support passing tls argument via C rather
than pt_regs magic") introduced the HAVE_COPY_THREAD_TLS option. Use it
to avoid a subtle assumption about the argument ordering of clone type
syscalls.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190827033010.28090-2-npiggin@gmail.com
arch/powerpc/Kconfig
arch/powerpc/kernel/process.c