summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-05-24 23:20:38 +0200
committerIngo Molnar <mingo@elte.hu>2008-06-06 15:19:32 +0200
commitf7dcd80bbc8e7032443e6539ea1b830364f82200 (patch)
tree5454b3ba95981cf70d4a56cbfe40720b84e24b27
parentd07355f5def74d060333563b36ab51b89fd44cdd (diff)
namespacecheck: fixes in kernel/sched.c
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 90329f1f8941..02a5eeedcb94 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -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;
}