diff options
author | Xie XiuQi <xiexiuqi@huawei.com> | 2017-08-07 10:44:23 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-08-10 12:18:20 +0200 |
commit | 20435d84e5f2041c64c792399ab6f2948a2c2252 (patch) | |
tree | 7576b55eef9f3291f3488635e1ab60cdf23ea19e /block/blk-flush.c | |
parent | sched/debug: Show task state in /proc/sched_debug (diff) | |
download | linux-20435d84e5f2041c64c792399ab6f2948a2c2252.tar.xz linux-20435d84e5f2041c64c792399ab6f2948a2c2252.zip |
sched/debug: Intruduce task_state_to_char() helper function
Now that we have more than one place to get the task state,
intruduce the task_state_to_char() helper function to save some code.
No functionality changed.
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: <cj.chengjian@huawei.com>
Cc: <huawei.libin@huawei.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1502095463-160172-3-git-send-email-xiexiuqi@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions