OSDN Git Service

sched: TIF_NEED_RESCHED -> need_reshed() cleanup
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 6 Mar 2009 11:40:20 +0000 (19:40 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Mar 2009 11:48:55 +0000 (12:48 +0100)
commit5ed0cec0ac5f1b3759bdbe4d9df32ee4ff8afb5a
treea804da35b296f278865b194661cc6e75bfdaf11f
parent7fc07d84108d54c5b94625c0e168f31b2d66976e
sched: TIF_NEED_RESCHED -> need_reshed() cleanup

Impact: cleanup

Use test_tsk_need_resched(), set_tsk_need_resched(), need_resched()
instead of using TIF_NEED_RESCHED.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <49B10BA4.9070209@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
lib/kernel_lock.c