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:
Thomas Gleixner 2008-05-24 23:20:38 +02:00 committed by Ingo Molnar
parent d07355f5de
commit f7dcd80bbc
1 changed files with 1 additions and 1 deletions

View File

@ -1633,7 +1633,7 @@ inline int task_curr(const struct task_struct *p)
}
/* 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;
}