]> err.no Git - linux-2.6/commitdiff
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 90329f1f8941762e99e89a5dac135ffce735f2d7..02a5eeedcb94d4a918e936fc16301821ca28c80f 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;
 }