diff options
author | gorcunov@gmail.com <gorcunov@gmail.com> | 2008-11-26 19:17:02 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-27 12:00:32 (GMT) |
commit | 33454539f386a2beb38269bea5fff82b3d56b0e9 (patch) | |
tree | d99ef063f8e92acf2ac37060736247b3ec793554 /arch/x86/kernel/entry_64.S | |
parent | d211af055d0c12dc3416c2886e6fbdc6eb74a381 (diff) | |
download | linux-fsl-qoriq-33454539f386a2beb38269bea5fff82b3d56b0e9.tar.xz |
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>
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 38fcd05..1c309d5 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S @@ -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 */ |