Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030280AbVKHEad (ORCPT ); Mon, 7 Nov 2005 23:30:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030276AbVKHEad (ORCPT ); Mon, 7 Nov 2005 23:30:33 -0500 Received: from mailout1.vmware.com ([65.113.40.130]:4371 "EHLO mailout1.vmware.com") by vger.kernel.org with ESMTP id S1030281AbVKHEac (ORCPT ); Mon, 7 Nov 2005 23:30:32 -0500 Date: Mon, 7 Nov 2005 20:30:30 -0800 Message-Id: <200511080430.jA84UU5f009903@zach-dev.vmware.com> Subject: [PATCH 11/21] i386 Stop deleting nt From: Zachary Amsden To: Andrew Morton , Chris Wright , Linus Torvalds , Linux Kernel Mailing List , Virtualization Mailing List , "H. Peter Anvin" , Zwane Mwaikambo , Martin Bligh , Pratap Subrahmanyam , Christopher Li , "Eric W. Biederman" , Ingo Molnar , Zachary Amsden , Zachary Amsden X-OriginalArrivalTime: 08 Nov 2005 04:30:30.0914 (UTC) FILETIME=[26FBAE20:01C5E41D] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 968 Lines: 25 Stop deleting NT bit from EFLAGS. See arch/i386/kernel/head.S line 223, which does something even better. Signed-off-by: Zachary Amsden Index: linux-2.6.14-zach-work/arch/i386/kernel/cpu/common.c =================================================================== --- linux-2.6.14-zach-work.orig/arch/i386/kernel/cpu/common.c 2005-11-04 17:45:05.000000000 -0800 +++ linux-2.6.14-zach-work/arch/i386/kernel/cpu/common.c 2005-11-05 00:28:08.000000000 -0800 @@ -617,11 +617,6 @@ void __devinit cpu_init(void) load_idt(&idt_descr); /* - * Delete NT - */ - __asm__("pushfl ; andl $0xffffbfff,(%esp) ; popfl"); - - /* * Set up and load the per-CPU TSS and LDT */ atomic_inc(&init_mm.mm_count); - 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/