Skip to content

Commit

Permalink
[PATCH] ARM: Don't force SIGFPE
Browse files Browse the repository at this point in the history
We were forcing SIGFPE on to a user program for no good reason.
Use send_sig_info() instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Jun 29, 2005
1 parent 438a761 commit da41119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/vfp/vfpmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit da41119

Please sign in to comment.