* [PATCH 8/10] Stop deleting nt
@ 2005-11-10 0:44 Zachary Amsden
0 siblings, 0 replies; only message in thread
From: Zachary Amsden @ 2005-11-10 0:44 UTC (permalink / raw)
To: Andrew Morton, Linus Torvalds, Linux Kernel Mailing List,
H. Peter Anvin, Zwane Mwaikambo, Pratap Subrahmanyam,
Christopher Li, Eric W. Biederman, Ingo Molnar, Zachary Amsden
Stop deleting NT bit from EFLAGS. See arch/i386/kernel/head.S line 223,
which does something even better.
Signed-off-by: Zachary Amsden <zach@vmware.com>
Index: linux-2.6.14/arch/i386/kernel/cpu/common.c
===================================================================
--- linux-2.6.14.orig/arch/i386/kernel/cpu/common.c 2005-11-09 01:46:44.000000000 -0800
+++ linux-2.6.14/arch/i386/kernel/cpu/common.c 2005-11-09 06:13:51.000000000 -0800
@@ -604,11 +604,6 @@
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-10 0:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-10 0:44 [PATCH 8/10] Stop deleting nt Zachary Amsden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome