- if (t->state == TASK_INTERRUPTIBLE && signal_pending(t))
+ if (t->state & TASK_INTERRUPTIBLE && signal_pending(t))
Andrea, watch out! The presedence rules of C have bitten you here.
You want:
+ if ((t->state & TASK_INTERRUPTIBLE) && signal_pending(t))
Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/