Add macros to replace direct uses of TASK_ flags
authorMatthew Wilcox <matthew@wil.cx>
Thu, 6 Dec 2007 15:55:25 +0000 (10:55 -0500)
committerMatthew Wilcox <willy@linux.intel.com>
Thu, 6 Dec 2007 22:07:29 +0000 (17:07 -0500)
commit92a1f4bc7af13949d2185449307088cf98b4755d
treedb5a1a87a0170ae5dcba05228f5e3c1a78612fcf
parent4a6e9e2ce822c9f597b3036887f6cf5fa3a79375
Add macros to replace direct uses of TASK_ flags

With the changes to support TASK_KILLABLE, ->state becomes a bitmask, and
moving these tests to convenience macros will fix all the users.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
include/linux/sched.h