Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e227e8f3ba3bfb8e26fee783026c1425ba600037 Commit: e227e8f3ba3bfb8e26fee783026c1425ba600037 Parent: fa490cfd15d7ce0900097cc4e60cfd7a76381138 Author: Paul Mundt <[EMAIL PROTECTED]> AuthorDate: Tue Jun 19 12:41:32 2007 +0900 Committer: Paul Mundt <[EMAIL PROTECTED]> CommitDate: Tue Jun 19 12:41:32 2007 +0900
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 <[EMAIL PROTECTED]> --- arch/sh64/kernel/signal.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/sh64/kernel/signal.c b/arch/sh64/kernel/signal.c index c8525ad..0bb4a8f 100644 --- a/arch/sh64/kernel/signal.c +++ b/arch/sh64/kernel/signal.c @@ -640,6 +640,7 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka, if (regs->syscall_nr >= 0) { /* If so, check system call restarting.. */ switch (regs->regs[REG_RET]) { + case -ERESTART_RESTARTBLOCK: case -ERESTARTNOHAND: regs->regs[REG_RET] = -EINTR; break; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html