namespacecheck: fixes in kernel/sched.c
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
d07355f5de
commit
f7dcd80bbc
|
@ -1633,7 +1633,7 @@ inline int task_curr(const struct task_struct *p)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Used instead of source_load when we know the type == 0 */
|
/* Used instead of source_load when we know the type == 0 */
|
||||||
unsigned long weighted_cpuload(const int cpu)
|
static unsigned long weighted_cpuload(const int cpu)
|
||||||
{
|
{
|
||||||
return cpu_rq(cpu)->load.weight;
|
return cpu_rq(cpu)->load.weight;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue