frv: double syscall restarts, syscall restart in sigreturn()
We need to make sure that only the first do_signal() to be handled on
the way out syscall will bother with syscall restarts; additionally, the
check on the "signal has user handler" path had been wrong - compare
with restart prevention in sigreturn()...
Signed-off-by: Al Viro <firstname.lastname@example.org>
Signed-off-by: David Howells <email@example.com>
Signed-off-by: Linus Torvalds <firstname.lastname@example.org>