forked from luck/tmp_suning_uos_patched
x86: entry_64.S - use X86_EFLAGS_IF instead of hardcoded number
Impact: cleanup Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Acked-by: Alexander van Heukelum <heukelum@fastmail.fm> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
d211af055d
commit
33454539f3
@ -194,7 +194,7 @@ ENTRY(native_usergs_sysret64)
|
||||
pushq %rax /* rsp */
|
||||
CFI_ADJUST_CFA_OFFSET 8
|
||||
CFI_REL_OFFSET rsp,0
|
||||
pushq $(1<<9) /* eflags - interrupts on */
|
||||
pushq $X86_EFLAGS_IF /* eflags - interrupts on */
|
||||
CFI_ADJUST_CFA_OFFSET 8
|
||||
/*CFI_REL_OFFSET rflags,0*/
|
||||
pushq $__KERNEL_CS /* cs */
|
||||
|
Loading…
Reference in New Issue
Block a user