* [PATCH 4/5] frv: handling of restart into restart_syscall is fscked
@ 2010-09-18 19:42 Al Viro
0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2010-09-18 19:42 UTC (permalink / raw)
To: linux-arch; +Cc: dhowells, linux-kernel
syscall number is in gr7, not gr8...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
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 fa40d54..ad74e2e 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;
}
--
1.5.6.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 4/5] frv: handling of restart into restart_syscall is fscked
2010-09-20 14:13 [PATCH 1/5] frv: restart_block.fn needs to be reset on sigreturn David Howells
@ 2010-09-20 14:13 ` David Howells
0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2010-09-20 14:13 UTC (permalink / raw)
To: torvalds, akpm; +Cc: linux-kernel, Al Viro, David Howells
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-20 14:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-18 19:42 [PATCH 4/5] frv: handling of restart into restart_syscall is fscked Al Viro
2010-09-20 14:13 [PATCH 1/5] frv: restart_block.fn needs to be reset on sigreturn David Howells
2010-09-20 14:13 ` [PATCH 4/5] frv: handling of restart into restart_syscall is fscked David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome