[PATCH] i386: fix broken FP exception handling
authorChuck Ebbert <76306.1226@compuserve.com>
Sat, 29 Apr 2006 18:07:49 +0000 (14:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 1 May 2006 19:03:44 +0000 (12:03 -0700)
commit6584014ec33ed34c5bf6c5af20a0951069bea7a9
treea0f5b58fcafe3dd8f6fc7fd69bd13048c0512916
parenta5ddce5373218e73fbd58c20a96edd730048529d
[PATCH] i386: fix broken FP exception handling

The FXSAVE information leak patch introduced a bug in FP exception
handling: it clears FP exceptions only when there are already
none outstanding.  Mikael Pettersson reported that causes problems
with the Erlang runtime and has tested this fix.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Acked-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/asm-i386/i387.h