From: gorcunov@gmail.com Date: Wed, 26 Nov 2008 19:17:02 +0000 (+0300) Subject: x86: entry_64.S - use X86_EFLAGS_IF instead of hardcoded number X-Git-Tag: v2.6.29-rc1~587^2~1^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=33454539f386a2beb38269bea5fff82b3d56b0e9;p=karo-tx-linux.git x86: entry_64.S - use X86_EFLAGS_IF instead of hardcoded number Impact: cleanup Signed-off-by: Cyrill Gorcunov Acked-by: Alexander van Heukelum Signed-off-by: Ingo Molnar --- 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 */