[PATCH] ARM: Don't force SIGFPE
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 29 Jun 2005 22:02:02 +0000 (23:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 29 Jun 2005 22:02:02 +0000 (23:02 +0100)
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>
arch/arm/vfp/vfpmodule.c

index 3aeedd2afc70fc3ac23e3832bcf9d513f2ace7e3..22f3da4e0829b3d80b94ed3bd3a0225e19fa3590 100644 (file)
@@ -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)