frv: restart_block.fn needs to be reset on sigreturn
authorAl Viro <viro@ftp.linux.org.uk>
Mon, 20 Sep 2010 14:13:04 +0000 (15:13 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Sep 2010 17:44:37 +0000 (10:44 -0700)
commit20cd514d0f3d288d968217028ca67b70e707d896
treee6f01aab0ab568ca28fc11a9fbb575d91bafd3bd
parent31c4a3d3a0f84a5847665f8aa0552d188389f791
frv: restart_block.fn needs to be reset on sigreturn

Reset restart_block.fn on executing a sigreturn such that any currently
pending system call restarts will be forced to return -EINTR.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/kernel/signal.c