Skip to contentSkip to conversation

frv: handling of restart into restart_syscall is fscked

PATCH New Al Viro 1 participant 1 message Sep 18, 2010 Generic include/asm header files

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 4/5 frv: handling of restart into restart_syscall is fscked

syscall number is in gr7, not gr8...

---
 arch/frv/kernel/signal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/frv/kernel/signal.c +1 -1
index fa40d54..ad74e2e 100644
@@ -547,7 +547,7 @@ no_signal:
 			break;
 
 		case -ERESTART_RESTARTBLOCK:
-			__frame->gr8 = __NR_restart_syscall;
+			__frame->gr7 = __NR_restart_syscall;
 			__frame->pc -= 4;
 			break;
 		}
Signature · 1 line
1.5.6.5