diff options
author | gorcunov@gmail.com <gorcunov@gmail.com> | 2008-11-26 14:17:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-27 07:00:32 -0500 |
commit | 33454539f386a2beb38269bea5fff82b3d56b0e9 (patch) | |
tree | d99ef063f8e92acf2ac37060736247b3ec793554 /arch/x86 | |
parent | d211af055d0c12dc3416c2886e6fbdc6eb74a381 (diff) |
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')
-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) | |||
194 | pushq %rax /* rsp */ | 194 | pushq %rax /* rsp */ |
195 | CFI_ADJUST_CFA_OFFSET 8 | 195 | CFI_ADJUST_CFA_OFFSET 8 |
196 | CFI_REL_OFFSET rsp,0 | 196 | CFI_REL_OFFSET rsp,0 |
197 | pushq $(1<<9) /* eflags - interrupts on */ | 197 | pushq $X86_EFLAGS_IF /* eflags - interrupts on */ |
198 | CFI_ADJUST_CFA_OFFSET 8 | 198 | CFI_ADJUST_CFA_OFFSET 8 |
199 | /*CFI_REL_OFFSET rflags,0*/ | 199 | /*CFI_REL_OFFSET rflags,0*/ |
200 | pushq $__KERNEL_CS /* cs */ | 200 | pushq $__KERNEL_CS /* cs */ |