Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a46ff73d authored by Roland McGrath's avatar Roland McGrath Committed by Ingo Molnar
Browse files

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: default avatarRoland McGrath <roland@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 742fa54a
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -169,7 +169,8 @@ void syscall_init(void)
#endif
#endif


	/* Flags to clear on syscall */
	/* Flags to clear on syscall */
	wrmsrl(MSR_SYSCALL_MASK, EF_TF|EF_DF|EF_IE|0x3000); 
	wrmsrl(MSR_SYSCALL_MASK,
	       X86_EFLAGS_TF|X86_EFLAGS_DF|X86_EFLAGS_IF|X86_EFLAGS_IOPL);
}
}


void __cpuinit check_efer(void)
void __cpuinit check_efer(void)