forked from Minki/linux
frv: fix check on unsigned in do_signal()
syscallno is unsigned Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c36987e2ef
commit
c896a2e0d8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user