aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-06-09 04:12:24 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-10 08:51:04 -0400
commite9886ca3a93d7d041d3de8e5acebe213da777d59 (patch)
tree392fe2668b27a4dacbc412d8ee4499d68153049f
parent6492c7f83e88a3a9521793b6934d882b97afe287 (diff)
sched: kill off dead cfs_rq_set_shares()
Building with CONFIG_FAIR_GROUP_SCHED=y on UP results in an unused cfs_rq_set_shares() reference. As nothing is using this dummy function in the first place, just kill it off. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/sched.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 164fe7fe0d89..07d5472dee99 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1480,16 +1480,8 @@ static unsigned long source_load(int cpu, int type);
1480static unsigned long target_load(int cpu, int type); 1480static unsigned long target_load(int cpu, int type);
1481static unsigned long cpu_avg_load_per_task(int cpu); 1481static unsigned long cpu_avg_load_per_task(int cpu);
1482static int task_hot(struct task_struct *p, u64 now, struct sched_domain *sd); 1482static int task_hot(struct task_struct *p, u64 now, struct sched_domain *sd);
1483#else /* CONFIG_SMP */
1484
1485#ifdef CONFIG_FAIR_GROUP_SCHED
1486static void cfs_rq_set_shares(struct cfs_rq *cfs_rq, unsigned long shares)
1487{
1488}
1489#endif 1483#endif
1490 1484
1491#endif /* CONFIG_SMP */
1492
1493#include "sched_stats.h" 1485#include "sched_stats.h"
1494#include "sched_idletask.c" 1486#include "sched_idletask.c"
1495#include "sched_fair.c" 1487#include "sched_fair.c"