Messages in this thread Patch in this message | | | From | David Howells <> | Subject | [PATCH 4/5] frv: handling of restart into restart_syscall is fscked | Date | Mon, 20 Sep 2010 15:13:19 +0100 |
| |
From: Al Viro <viro@ftp.linux.org.uk>
do_signal() should place the syscall number in gr7, not gr8 when handling ERESTART_WOULDBLOCK.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David Howells <dhowells@redhat.com> ---
arch/frv/kernel/signal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/frv/kernel/signal.c b/arch/frv/kernel/signal.c index 48203c6..bd13b57 100644 --- a/arch/frv/kernel/signal.c +++ b/arch/frv/kernel/signal.c @@ -547,7 +547,7 @@ no_signal: break; case -ERESTART_RESTARTBLOCK: - __frame->gr8 = __NR_restart_syscall; + __frame->gr7 = __NR_restart_syscall; __frame->pc -= 4; break; }
| |