sched: Hide runqueues from direct refer at source code level
authorHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Wed, 17 Jun 2009 13:20:55 +0000 (22:20 +0900)
committerIngo Molnar <mingo@elte.hu>
Wed, 17 Jun 2009 16:29:42 +0000 (18:29 +0200)
There are some points which refer the per-cpu value "runqueues" directly.
sched.c provides nice abstraction, such as cpu_rq() and this_rq(),
so we should use these macros when looking runqueues.

Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
LKML-Reference: <20090617.222055.374768827975756908.mitake@dcl.info.waseda.ac.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found