Don't leak NT bit into next task
commitff6e642fe5fae0da7b54540fb76a93f3d968c87a
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:41 +0000 (26 10:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Feb 2007 23:49:51 +0000 (23 15:49 -0800)
treec5fe958ed69764631db0c05a8ea5dc5fdba2459a
parentabf95418101f410b1cfdcd3c78d0d299231c8fcd
Don't leak NT bit into next task

SYSENTER can cause a NT to be set which might cause crashes on the IRET
in the next task.

Following similar i386 patch from Linus.

Signed-off-by: Andi Kleen <ak@suse.de>
[backport from Chuck Ebbert]
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86_64/kernel/entry.S
arch/x86_64/kernel/setup64.c
include/asm-x86_64/system.h