Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754207AbXK1FId (ORCPT ); Wed, 28 Nov 2007 00:08:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750805AbXK1FIY (ORCPT ); Wed, 28 Nov 2007 00:08:24 -0500 Received: from mx1.redhat.com ([66.187.233.31]:56645 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750774AbXK1FIX (ORCPT ); Wed, 28 Nov 2007 00:08:23 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Andrew Morton , Linus Torvalds Cc: linux-kernel@vger.kernel.org X-Fcc: ~/Mail/linus Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" X-Fcc: ~/Mail/linus Subject: [PATCH 1/2] x86: setup64 eflags constants Emacs: the definitive fritterware. Message-Id: <20071128050745.357E826F8E7@magilla.localdomain> Date: Tue, 27 Nov 2007 21:07:45 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 975 Lines: 28 This cleans up arch/x86/kernel/setup64.c to use the X86_EFLAGS_* constants from instead of the EF_* enum in . Signed-off-by: Roland McGrath --- 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 3558ac7..51297cc 100644 --- a/arch/x86/kernel/setup64.c +++ b/arch/x86/kernel/setup64.c @@ -169,7 +169,8 @@ void syscall_init(void) #endif /* 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) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/