Skip to content

Commit 92d44a4

Browse files
author
Russell King
committed
ARM: fix kill( ,SIGFPE) breakage
Commit 7771c66 ("signal/arm: Document conflicts with SI_USER and SIGFPE") broke the siginfo structure for userspace triggered signals, causing the strace testsuite to regress. Fix this by eliminating the FPE_FIXME definition (which is at the root of the breakage) and use FPE_FLTINV instead for the case where the hardware appears to be reporting nonsense. Fixes: 7771c66 ("signal/arm: Document conflicts with SI_USER and SIGFPE") Suggested-by: Linus Torvalds <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent 0d73c3f commit 92d44a4

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

arch/arm/include/uapi/asm/siginfo.h

Lines changed: 0 additions & 13 deletions
This file was deleted.

arch/arm/vfp/vfpmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_
257257

258258
if (exceptions == VFP_EXCEPTION_ERROR) {
259259
vfp_panic("unhandled bounce", inst);
260-
vfp_raise_sigfpe(FPE_FIXME, regs);
260+
vfp_raise_sigfpe(FPE_FLTINV, regs);
261261
return;
262262
}
263263

0 commit comments

Comments
 (0)