From: Josh Triplett Date: Tue, 30 Jun 2015 22:00:00 +0000 (-0700) Subject: x86: opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit X-Git-Tag: omap-for-v4.2/fixes-rc1^2~53^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1bd55f922a2df6038060ed48a82d146d301ca12;p=pandora-kernel.git x86: opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit For 32-bit userspace on a 64-bit kernel, this requires modifying stub32_clone to actually swap the appropriate arguments to match CONFIG_CLONE_BACKWARDS, rather than just leaving the C argument for tls broken. Patch co-authored by Josh Triplett and Thiago Macieira. Signed-off-by: Josh Triplett Acked-by: Andy Lutomirski Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Thiago Macieira Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed