Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da41119a authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[PATCH] ARM: Don't force SIGFPE



We were forcing SIGFPE on to a user program for no good reason.
Use send_sig_info() instead.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 438a7616
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ void vfp_raise_sigfpe(unsigned int sicode, struct pt_regs *regs)
	current->thread.error_code = 0;
	current->thread.trap_no = 6;

	force_sig_info(SIGFPE, &info, current);
	send_sig_info(SIGFPE, &info, current);
}

static void vfp_panic(char *reason)