From: Maciej W. Rozycki Date: Fri, 3 Apr 2015 22:27:06 +0000 (+0100) Subject: MIPS: Respect the FCSR exception mask for `si_code' X-Git-Tag: omap-for-v4.1/fixes-rc1~111^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed2d72c1eb3643b7c109bdf387563d9b9a30c279;p=pandora-kernel.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9703/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed