aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 90329f1f894..02a5eeedcb9 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;
}