aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-12-19 16:18:31 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-19 16:18:31 -0500
commit1092b596a56b6ac5fa3154dc75bfcbb6f27ac757 (patch)
treea804de50bae89bba47aaa414e6a4fb033da0dd94 /arch/x86/kernel
parent88a57667f2990f00b019d46c8426441c9e516d51 (diff)
parent3fb2f4237bb452eb4e98f6a5dbd5a445b4fed9d0 (diff)
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fix from Ingo Molnar: "This contains a single TLS ABI validation fix from Andy Lutomirski" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/tls: Don't validate lm in set_thread_area() after all
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/tls.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/tls.c b/arch/x86/kernel/tls.c
index 3e551eee87b9..4e942f31b1a7 100644
--- a/arch/x86/kernel/tls.c
+++ b/arch/x86/kernel/tls.c
@@ -55,12 +55,6 @@ static bool tls_desc_okay(const struct user_desc *info)
55 if (info->seg_not_present) 55 if (info->seg_not_present)
56 return false; 56 return false;
57 57
58#ifdef CONFIG_X86_64
59 /* The L bit makes no sense for data. */
60 if (info->lm)
61 return false;
62#endif
63
64 return true; 58 return true;
65} 59}
66 60