summaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorChuck Ebbert <76306.1226@compuserve.com>2005-08-23 21:36:40 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-23 19:52:37 -0700
commitb1daec3089a129a67169d3ae975985a7480fe17f (patch)
tree874a99ec05afb39419f1e4ac0f90cf7c6a70e1fc /arch/x86_64
parent11532cc6aa73a47023268d718bf43b646494615c (diff)
downloadop-kernel-dev-b1daec3089a129a67169d3ae975985a7480fe17f.zip
op-kernel-dev-b1daec3089a129a67169d3ae975985a7480fe17f.tar.gz
[PATCH] i386: fix incorrect FP signal code
i386 floating-point exception handling has a bug that can cause error code 0 to be sent instead of the proper code during signal delivery. This is caused by unconditionally checking the IS and c1 bits from the FPU status word when they are not always relevant. The IS bit tells whether an exception is a stack fault and is only relevant when the exception is IE (invalid operation.) The C1 bit determines whether a stack fault is overflow or underflow and is only relevant when IS and IE are set. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud