mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
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>
This commit is contained in:
parent
ad0acab455
commit
44c7afffa4
@ -547,7 +547,7 @@ no_signal:
|
||||
break;
|
||||
|
||||
case -ERESTART_RESTARTBLOCK:
|
||||
__frame->gr8 = __NR_restart_syscall;
|
||||
__frame->gr7 = __NR_restart_syscall;
|
||||
__frame->pc -= 4;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user