提交 33454539 编写于 作者: G gorcunov@gmail.com 提交者: Ingo Molnar

x86: entry_64.S - use X86_EFLAGS_IF instead of hardcoded number

Impact: cleanup
Signed-off-by: NCyrill Gorcunov <gorcunov@gmail.com>
Acked-by: NAlexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 d211af05
...@@ -194,7 +194,7 @@ ENTRY(native_usergs_sysret64) ...@@ -194,7 +194,7 @@ ENTRY(native_usergs_sysret64)
pushq %rax /* rsp */ pushq %rax /* rsp */
CFI_ADJUST_CFA_OFFSET 8 CFI_ADJUST_CFA_OFFSET 8
CFI_REL_OFFSET rsp,0 CFI_REL_OFFSET rsp,0
pushq $(1<<9) /* eflags - interrupts on */ pushq $X86_EFLAGS_IF /* eflags - interrupts on */
CFI_ADJUST_CFA_OFFSET 8 CFI_ADJUST_CFA_OFFSET 8
/*CFI_REL_OFFSET rflags,0*/ /*CFI_REL_OFFSET rflags,0*/
pushq $__KERNEL_CS /* cs */ pushq $__KERNEL_CS /* cs */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册