From: Thomas Gleixner Date: Sat, 24 May 2008 21:20:38 +0000 (+0200) Subject: namespacecheck: fixes in kernel/sched.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f7dcd80bbc8e7032443e6539ea1b830364f82200;p=openwrt%2Fstaging%2Fblogic.git namespacecheck: fixes in kernel/sched.c Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- 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; }