diff options
author | gorcunov@gmail.com <gorcunov@gmail.com> | 2008-11-26 20:17:02 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-27 13:00:32 +0100 |
commit | 33454539f386a2beb38269bea5fff82b3d56b0e9 (patch) | |
tree | d99ef063f8e92acf2ac37060736247b3ec793554 | |
parent | i386: get rid of the use of KPROBE_ENTRY / KPROBE_END (diff) | |
download | linux-33454539f386a2beb38269bea5fff82b3d56b0e9.tar.xz linux-33454539f386a2beb38269bea5fff82b3d56b0e9.zip |
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>
-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 38fcd0517c31..1c309d546518 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 */ |