aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-05-24 17:20:38 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-06 09:19:32 -0400
commitf7dcd80bbc8e7032443e6539ea1b830364f82200 (patch)
tree5454b3ba95981cf70d4a56cbfe40720b84e24b27 /kernel/sched.c
parentd07355f5def74d060333563b36ab51b89fd44cdd (diff)
namespacecheck: fixes in kernel/sched.c
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched.c')
-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)
1633} 1633}
1634 1634
1635/* Used instead of source_load when we know the type == 0 */ 1635/* Used instead of source_load when we know the type == 0 */
1636unsigned long weighted_cpuload(const int cpu) 1636static unsigned long weighted_cpuload(const int cpu)
1637{ 1637{
1638 return cpu_rq(cpu)->load.weight; 1638 return cpu_rq(cpu)->load.weight;
1639} 1639}