diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-30 00:02:02 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-06-30 00:02:02 +0200 |
commit | da41119af78864d27ccbf505949df788d5e8aaf5 (patch) | |
tree | dbcc326b76abad1f27e07db1163ac766213688a4 /arch/arm/vfp | |
parent | [PATCH] ARM: Fix VFP to use do_div() (diff) | |
download | linux-da41119af78864d27ccbf505949df788d5e8aaf5.tar.xz linux-da41119af78864d27ccbf505949df788d5e8aaf5.zip |
[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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/vfp')
-rw-r--r-- | arch/arm/vfp/vfpmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index 3aeedd2afc70..22f3da4e0829 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c @@ -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) |