|
@@ -527,7 +527,7 @@ static void do_signal(void)
|
|
|
|
|
|
no_signal:
|
|
no_signal:
|
|
/* Did we come from a system call? */
|
|
/* Did we come from a system call? */
|
|
- if (__frame->syscallno >= 0) {
|
|
|
|
|
|
+ if (__frame->syscallno != -1) {
|
|
/* Restart the system call - no handlers present */
|
|
/* Restart the system call - no handlers present */
|
|
switch (__frame->gr8) {
|
|
switch (__frame->gr8) {
|
|
case -ERESTARTNOHAND:
|
|
case -ERESTARTNOHAND:
|