summaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/head_32.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/head_32.S')
-rw-r--r--arch/x86/boot/compressed/head_32.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/head_32.S b/arch/x86/boot/compressed/head_32.S
index d7245cf..d02a4f0 100644
--- a/arch/x86/boot/compressed/head_32.S
+++ b/arch/x86/boot/compressed/head_32.S
@@ -91,6 +91,10 @@ ENTRY(startup_32)
/* Set up the stack */
leal boot_stack_end(%ebx), %esp
+ /* Zero EFLAGS */
+ pushl $0
+ popfl
+
/*
* Copy the compressed kernel to the end of our buffer
* where decompression in place becomes safe.