Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Al Viro and committed by
Linus Torvalds
44c7afff ad0acab4

+1 -1
+1 -1
arch/frv/kernel/signal.c
··· 547 547 break; 548 548 549 549 case -ERESTART_RESTARTBLOCK: 550 - __frame->gr8 = __NR_restart_syscall; 550 + __frame->gr7 = __NR_restart_syscall; 551 551 __frame->pc -= 4; 552 552 break; 553 553 }