提交 a9dc5d0e 编写于 作者: A Alex Shi 提交者: Ingo Molnar
上级 a9cef46a
......@@ -502,12 +502,12 @@ static void __update_cpu_load(struct rq *this_rq, unsigned long this_load,
}
#ifdef CONFIG_SMP
unsigned long get_rq_runnable_load(struct rq *rq)
static inline unsigned long get_rq_runnable_load(struct rq *rq)
{
return rq->cfs.runnable_load_avg;
}
#else
unsigned long get_rq_runnable_load(struct rq *rq)
static inline unsigned long get_rq_runnable_load(struct rq *rq)
{
return rq->load.weight;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册