From: Al Viro Date: Mon, 20 Sep 2010 14:13:19 +0000 (+0100) Subject: frv: handling of restart into restart_syscall is fscked X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=44c7afffa429a7cdcd1755019ab76566ff41e66d;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- diff --git a/arch/frv/kernel/signal.c b/arch/frv/kernel/signal.c index 48203c68e39..bd13b57a5c9 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; }