frv: Fix check on unsigned in do_signal()
PATCH 1/1 frv: Fix check on unsigned in do_signal()
syscallno is unsigned
Signed-off-by Roel Kluin <[email protected]>
---
Was this maybe intended?
arch/frv/kernel/signal.c +1 -1
@@ -527,7 +527,7 @@ static void do_signal(void) no_signal:/* Did we come from a system call? */ -if (__frame->syscallno >=0 ) { +if (__frame->syscallno !=-1 ) {/* Restart the system call - no handlers present */ switch (__frame->gr8) {case -ERESTARTNOHAND :