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
...@@ -89,7 +89,7 @@ void vfp_raise_sigfpe(unsigned int sicode, struct pt_regs *regs) ...@@ -89,7 +89,7 @@ void vfp_raise_sigfpe(unsigned int sicode, struct pt_regs *regs)
current->thread.error_code = 0; current->thread.error_code = 0;
current->thread.trap_no = 6; current->thread.trap_no = 6;
force_sig_info(SIGFPE, &info, current); send_sig_info(SIGFPE, &info, current);
} }
static void vfp_panic(char *reason) static void vfp_panic(char *reason)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment