提交 8b06c55b 编写于 作者: P Pranith Kumar 提交者: Ingo Molnar

sched: Match declaration with definition

Match the declaration of runqueues with the definition.
Signed-off-by: NPranith Kumar <bobby.prani@gmail.com>
Signed-off-by: NPeter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1407950893-32731-1-git-send-email-bobby.prani@gmail.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 5aface53
......@@ -647,7 +647,7 @@ static inline int cpu_of(struct rq *rq)
#endif
}
DECLARE_PER_CPU(struct rq, runqueues);
DECLARE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues);
#define cpu_rq(cpu) (&per_cpu(runqueues, (cpu)))
#define this_rq() (&__get_cpu_var(runqueues))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册