sched: use TASK_NICE for task_struct
authorAmérico Wang <xiyou.wangcong@gmail.com>
Mon, 16 Feb 2009 10:54:21 +0000 (18:54 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 16 Feb 2009 12:45:52 +0000 (13:45 +0100)
#define TASK_NICE(p)            PRIO_TO_NICE((p)->static_prio)

So it's better to use TASK_NICE here.

Signed-off-by: WANG Cong <wangcong@zeuux.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found