sh64: Handle -ERESTART_RESTARTBLOCK for restartable syscalls.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 19 Jun 2007 03:41:32 +0000 (12:41 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 19 Jun 2007 03:41:32 +0000 (12:41 +0900)
commite227e8f3ba3bfb8e26fee783026c1425ba600037
tree284f02179c29066349967a159ce1a9059cd13758
parentfa490cfd15d7ce0900097cc4e60cfd7a76381138
sh64: Handle -ERESTART_RESTARTBLOCK for restartable syscalls.

The current implementation only handles -ERESTARTNOHAND, whereas we
also need to handle -ERESTART_RESTARTBLOCK in the handle_signal()
case for restartable system calls. Follows the sh change.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh64/kernel/signal.c