diff options
author | Américo Wang <xiyou.wangcong@gmail.com> | 2009-02-16 18:54:21 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-16 13:45:52 +0100 |
commit | 2b8f836fb196acede88b6cc772e9057e0a9c0223 (patch) | |
tree | a34ba7ed839747eae402626b172a9b7d0a88bd87 /include/linux/i2c-dev.h | |
parent | a0a522ce3d6d8c907e45d4f2730ee8573484cc88 (diff) | |
download | lwn-2b8f836fb196acede88b6cc772e9057e0a9c0223.tar.gz lwn-2b8f836fb196acede88b6cc772e9057e0a9c0223.zip |
sched: use TASK_NICE for task_struct
#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>
Diffstat (limited to 'include/linux/i2c-dev.h')
0 files changed, 0 insertions, 0 deletions