OSDN Git Service

[PATCH] i386: fix broken FP exception handling
authorChuck Ebbert <76306.1226@compuserve.com>
Sat, 29 Apr 2006 18:07:49 +0000 (14:07 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 29 Apr 2006 21:13:16 +0000 (14:13 -0700)
commit543f2a3382bd7abd7380903518c61f00c7c87577
treeca6dff499b29f40b5ff62aaaed48def6e4c81016
parent693f7d362055261882659475d2ef022e32edbff1
[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: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/i387.h