diff options
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index a52703864a16..82801fd2e931 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -409,6 +409,8 @@ END(save_paranoid) | |||
409 | ENTRY(ret_from_fork) | 409 | ENTRY(ret_from_fork) |
410 | DEFAULT_FRAME | 410 | DEFAULT_FRAME |
411 | 411 | ||
412 | LOCK ; btr $TIF_FORK,TI_flags(%r8) | ||
413 | |||
412 | push kernel_eflags(%rip) | 414 | push kernel_eflags(%rip) |
413 | CFI_ADJUST_CFA_OFFSET 8 | 415 | CFI_ADJUST_CFA_OFFSET 8 |
414 | popf # reset kernel eflags | 416 | popf # reset kernel eflags |