aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2010-09-20 15:13:19 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-20 10:44:38 -0700
commit44c7afffa429a7cdcd1755019ab76566ff41e66d (patch)
tree6d7f1b59dfe72db861f6164323ba96a7129d05da /arch/frv
parentad0acab4557a91a60251b3ffe3478fad572d6f61 (diff)
downloadkernel_samsung_smdk4412-44c7afffa429a7cdcd1755019ab76566ff41e66d.zip
kernel_samsung_smdk4412-44c7afffa429a7cdcd1755019ab76566ff41e66d.tar.gz
kernel_samsung_smdk4412-44c7afffa429a7cdcd1755019ab76566ff41e66d.tar.bz2
frv: handling of restart into restart_syscall is fscked
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>
Diffstat (limited to 'arch/frv')
-rw-r--r--arch/frv/kernel/signal.c2
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;
}