[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>
This commit is contained in:
Родитель
438a761679
Коммит
da41119af7
|
@ -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)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче