]> git.hungrycats.org Git - linux/commit
[PATCH] Fix x87 FPU exception status check
authorDave Jones <davej@redhat.com>
Wed, 13 Aug 2003 16:08:35 +0000 (09:08 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 13 Aug 2003 16:08:35 +0000 (09:08 -0700)
commit0988831a9cc37e7bdf4f1a6ac2510461b614931f
treedb0cba2d6bc6cb5eafdbb87db0ee02ad976f2de0
parentd7b7d9cb4a9ffb0f9bfa310f6fd03936c7a73a04
[PATCH] Fix x87 FPU exception status check

From Dave Richards (drichards@mahinetworks.com)

  "While diagnosing an MMX/FPU problem I found a minor problem in the
   code which diagnoses and generates signals for FPU exceptions.  On
   x86 Stack Fault Exception are a subclass of Invalid Operation.  Thus,
   the FPU status register will have both the SF and IF bits set when a
   stack fault occurs.  The code which turns FPU exceptions into signals
   was assuming IF would be clear".
arch/i386/kernel/traps.c