diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-29 18:02:02 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-06-29 18:02:02 -0400 |
commit | da41119af78864d27ccbf505949df788d5e8aaf5 (patch) | |
tree | dbcc326b76abad1f27e07db1163ac766213688a4 /arch/arm | |
parent | 438a76167959061e371025f727fabec2ad9e70a7 (diff) |
[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')
-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) | |||
89 | current->thread.error_code = 0; | 89 | current->thread.error_code = 0; |
90 | current->thread.trap_no = 6; | 90 | current->thread.trap_no = 6; |
91 | 91 | ||
92 | force_sig_info(SIGFPE, &info, current); | 92 | send_sig_info(SIGFPE, &info, current); |
93 | } | 93 | } |
94 | 94 | ||
95 | static void vfp_panic(char *reason) | 95 | static void vfp_panic(char *reason) |