diff options
author | Zachary Amsden <zach@vmware.com> | 2006-01-06 00:11:57 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:33:35 -0800 |
commit | 2891dcdc4538e8f4ce50c9d1eea457cf2d81fb5b (patch) | |
tree | 694477a26693e300ef88efd98ee1f5c98354ae7d | |
parent | e6a9918c9617ed21f71f2f20b45efe06822c8f00 (diff) | |
download | op-kernel-dev-2891dcdc4538e8f4ce50c9d1eea457cf2d81fb5b.zip op-kernel-dev-2891dcdc4538e8f4ce50c9d1eea457cf2d81fb5b.tar.gz |
[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>
-rw-r--r-- | arch/i386/kernel/cpu/common.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/i386/kernel/cpu/common.c b/arch/i386/kernel/cpu/common.c index cbc3206..cca6556 100644 --- a/arch/i386/kernel/cpu/common.c +++ b/arch/i386/kernel/cpu/common.c @@ -596,11 +596,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); |