Your patch implies that the state field can only contain a single
bit, but the TASK_ bit ordering suggests the possibility for
multiple bit settings. (Uninterruptable running zombie?)
The switch you patched does not handle such cases.
However, after checking some uses of the task state it seems
most checking is done by == or !=...
Met vriendelijke groet,
Pauline Middelink
-- PGP Key fingerprint = DE 6B D0 D9 19 AD A7 A0 58 A3 06 9D B6 34 39 E2 For more details look at my website http://www.polyware.nl/~middelin- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu