Skip to content
Snippets Groups Projects
Commit 515b029d authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

MIPS: Send proper signal and siginfo on FP emulator faults.


We were unconditionally sending SIGBUS with an empty siginfo on FP
emulator faults.  This differs from what happens when real floating
point hardware would get a fault.

For most faults we need to send SIGSEGV with the faulting address
filled in in the struct siginfo.

Reported-by: default avatarCamm Maguire <camm@maguirefamily.org>
Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Cc: Camm Maguire <camm@maguirefamily.org>
Patchwork: https://patchwork.linux-mips.org/patch/1727/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 0bc67917
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment