diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 07:30:57 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:57 -0500 |
commit | a46ff73d53f011de1dfc1983b05db2c04d193713 (patch) | |
tree | 8ae7d6fc2019f706a5f2a0bf011617dd6fcfcbd9 /arch/x86/kernel/setup64.c | |
parent | 742fa54a62be6a263df14a553bf832724471dfbe (diff) |
x86: setup64 eflags constants
This cleans up arch/x86/kernel/setup64.c to use the X86_EFLAGS_* constants
from <asm/processor-flags.h> instead of the EF_* enum in <asm/ptrace.h>.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/setup64.c')
-rw-r--r-- | arch/x86/kernel/setup64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup64.c b/arch/x86/kernel/setup64.c index 3558ac78c926..51297cca6b42 100644 --- a/arch/x86/kernel/setup64.c +++ b/arch/x86/kernel/setup64.c | |||
@@ -169,7 +169,8 @@ void syscall_init(void) | |||
169 | #endif | 169 | #endif |
170 | 170 | ||
171 | /* Flags to clear on syscall */ | 171 | /* Flags to clear on syscall */ |
172 | wrmsrl(MSR_SYSCALL_MASK, EF_TF|EF_DF|EF_IE|0x3000); | 172 | wrmsrl(MSR_SYSCALL_MASK, |
173 | X86_EFLAGS_TF|X86_EFLAGS_DF|X86_EFLAGS_IF|X86_EFLAGS_IOPL); | ||
173 | } | 174 | } |
174 | 175 | ||
175 | void __cpuinit check_efer(void) | 176 | void __cpuinit check_efer(void) |