projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad0acab
)
frv: handling of restart into restart_syscall is fscked
author
Al Viro
<viro@ftp.linux.org.uk>
Mon, 20 Sep 2010 14:13:19 +0000
(15:13 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 20 Sep 2010 17:44:38 +0000
(10:44 -0700)
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/frv/kernel/signal.c
b/arch/frv/kernel/signal.c
index 48203c68e39fe6eaf37e9dc17223a63aa2a11f11..bd13b57a5c9b046a825f8b2907888d58e7e5b27b 100644
(file)
--- a/
arch/frv/kernel/signal.c
+++ b/
arch/frv/kernel/signal.c
@@
-547,7
+547,7
@@
no_signal:
break;
case -ERESTART_RESTARTBLOCK:
- __frame->gr
8
= __NR_restart_syscall;
+ __frame->gr
7
= __NR_restart_syscall;
__frame->pc -= 4;
break;
}