[PATCH] x86-64: Fix FPU corruption
authorAndi Kleen <ak@suse.de>
Thu, 5 Oct 2006 16:47:22 +0000 (18:47 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 5 Oct 2006 16:47:22 +0000 (18:47 +0200)
commit0a5ace2ab08d45cd78d7ef0067cdcd5c812ac54f
treea4da5e79010de2391ee92d6a71b2a7217ed68d61
parent51ec28e1b2cb267a09a0b8eac1ccf8d61b7268bf
[PATCH] x86-64: Fix FPU corruption

This reverts an earlier patch that was found to cause FPU
state corruption. I think the corruption happens because
unlazy_fpu() can cause FPU exceptions and when it happens
after the current switch some processing would affect
the state in the wrong process.

Thanks to  Douglas Crosher and Tom Hughes for testing.

Cc: jbeulich@novell.com
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/process.c