summaryrefslogtreecommitdiffstats
path: root/arch/x86/entry/entry_32.S
diff options
context:
space:
mode:
authorIngo Molnar2016-03-07 09:27:30 +0100
committerIngo Molnar2016-03-07 09:27:30 +0100
commitec87e1cf7d8399d81d8965c6d852f8057a8dd687 (patch)
tree472a168fa4861090edf110c8a9712a5c15ea259f /arch/x86/entry/entry_32.S
parentuprobes: __create_xol_area() must nullify xol_mapping.fault (diff)
parentLinux 4.5-rc7 (diff)
downloadkernel-qcow2-linux-ec87e1cf7d8399d81d8965c6d852f8057a8dd687.tar.gz
kernel-qcow2-linux-ec87e1cf7d8399d81d8965c6d852f8057a8dd687.tar.xz
kernel-qcow2-linux-ec87e1cf7d8399d81d8965c6d852f8057a8dd687.zip
Merge tag 'v4.5-rc7' into x86/asm, to pick up SMAP fix
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/entry/entry_32.S')
-rw-r--r--arch/x86/entry/entry_32.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/entry/entry_32.S b/arch/x86/entry/entry_32.S
index 4c5228352744..66350e6a6ca5 100644
--- a/arch/x86/entry/entry_32.S
+++ b/arch/x86/entry/entry_32.S
@@ -294,6 +294,7 @@ sysenter_past_esp:
pushl $__USER_DS /* pt_regs->ss */
pushl %ebp /* pt_regs->sp (stashed in bp) */
pushfl /* pt_regs->flags (except IF = 0) */
+ ASM_CLAC /* Clear AC after saving FLAGS */
orl $X86_EFLAGS_IF, (%esp) /* Fix IF */
pushl $__USER_CS /* pt_regs->cs */
pushl $0 /* pt_regs->ip = 0 (placeholder) */