]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8aba97a1664dc3667180351df4401df4e7a1ceb2
tree10829dde8d184ed59bf3d76578bb444d097a8598
parent573445105c19f22596bd7395fb64f5e9cd2a6a91
sched: Hide runqueues from direct refer at source code level

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>
kernel/sched_debug.c