aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/cpu/common.c
diff options
context:
space:
mode:
authorZachary Amsden <zach@vmware.com>2006-01-06 03:11:57 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:33:35 -0500
commit2891dcdc4538e8f4ce50c9d1eea457cf2d81fb5b (patch)
tree694477a26693e300ef88efd98ee1f5c98354ae7d /arch/i386/kernel/cpu/common.c
parente6a9918c9617ed21f71f2f20b45efe06822c8f00 (diff)
[PATCH] x86: Stop deleting nt
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> Cc: "Seth, Rohit" <rohit.seth@intel.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/cpu/common.c')
-rw-r--r--arch/i386/kernel/cpu/common.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/i386/kernel/cpu/common.c b/arch/i386/kernel/cpu/common.c
index cbc32069683f..cca655688ffc 100644
--- a/arch/i386/kernel/cpu/common.c
+++ b/arch/i386/kernel/cpu/common.c
@@ -596,11 +596,6 @@ void __devinit cpu_init(void)
596 load_idt(&idt_descr); 596 load_idt(&idt_descr);
597 597
598 /* 598 /*
599 * Delete NT
600 */
601 __asm__("pushfl ; andl $0xffffbfff,(%esp) ; popfl");
602
603 /*
604 * Set up and load the per-CPU TSS and LDT 599 * Set up and load the per-CPU TSS and LDT
605 */ 600 */
606 atomic_inc(&init_mm.mm_count); 601 atomic_inc(&init_mm.mm_count);