summaryrefslogtreecommitdiffstats
path: root/block/ioctl.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2015-04-03 23:27:06 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-04-08 01:10:15 +0200
commited2d72c1eb3643b7c109bdf387563d9b9a30c279 (patch)
treecd0cc0203cef78f94b60770889f0e996a60387c6 /block/ioctl.c
parentcfafc4feb39a5f5f12cf30da33c0b6ae89ce907d (diff)
downloadop-kernel-dev-ed2d72c1eb3643b7c109bdf387563d9b9a30c279.zip
op-kernel-dev-ed2d72c1eb3643b7c109bdf387563d9b9a30c279.tar.gz
MIPS: Respect the FCSR exception mask for `si_code'
Respect the FCSR exception mask when interpreting the IEEE 754 exception condition to report with SIGFPE in `si_code', so as not to use one that has been masked where a different one set in parallel caused the FPE hardware exception to trigger. As per the IEEE Std 754 the Inexact exception can happen together with Overflow or Underflow. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9703/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud