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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue