namespacecheck: fixes in kernel/sched.c
authorThomas Gleixner <tglx@linutronix.de>
Sat, 24 May 2008 21:20:38 +0000 (23:20 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Jun 2008 13:19:32 +0000 (15:19 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched.c

index 90329f1..02a5eee 100644 (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;
 }