diff options
author | Andy Lutomirski <luto@kernel.org> | 2015-03-19 01:33:28 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-03-23 09:08:21 (GMT) |
commit | c56716af8d27ca8dd6e45445ae1c0a05fd9753a6 (patch) | |
tree | 13f14e508342aa82efacf711d52d639dfc4d58ae /arch/x86/crypto/sha-mb | |
parent | d31bf07f71a5568b48c5ed448e4299050469f615 (diff) | |
download | linux-c56716af8d27ca8dd6e45445ae1c0a05fd9753a6.tar.xz |
x86/asm/entry, perf: Fix incorrect TIF_IA32 check in code_segment_base()
We want to check whether user code is in 32-bit mode, not
whether the task is nominally 32-bit.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brad Spengler <spender@grsecurity.net>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/33e5107085ce347a8303560302b15c2cadd62c4c.1426728647.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/crypto/sha-mb')
0 files changed, 0 insertions, 0 deletions