diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/entry.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/kernel/entry.S b/arch/i386/kernel/entry.S index 37a7d2eaf4a0..87f9f60b803b 100644 --- a/arch/i386/kernel/entry.S +++ b/arch/i386/kernel/entry.S | |||
@@ -209,6 +209,10 @@ ENTRY(ret_from_fork) | |||
209 | GET_THREAD_INFO(%ebp) | 209 | GET_THREAD_INFO(%ebp) |
210 | popl %eax | 210 | popl %eax |
211 | CFI_ADJUST_CFA_OFFSET -4 | 211 | CFI_ADJUST_CFA_OFFSET -4 |
212 | pushl $0x0202 # Reset kernel eflags | ||
213 | CFI_ADJUST_CFA_OFFSET 4 | ||
214 | popfl | ||
215 | CFI_ADJUST_CFA_OFFSET -4 | ||
212 | jmp syscall_exit | 216 | jmp syscall_exit |
213 | CFI_ENDPROC | 217 | CFI_ENDPROC |
214 | 218 | ||