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: NMatthew Wilcox <willy@linux.intel.com>
Showing
想要评论请 注册 或 登录