aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-03-05 03:07:11 -0500
committerIngo Molnar <mingo@kernel.org>2013-03-06 05:24:34 -0500
commit15f803c94bd92b17708aad9e74226fd0b2c9130c (patch)
tree9e82cc81ab4de87e3878b503170be862a96dbe54 /include/linux/sched.h
parentc82ba9fa7588dfd02d4dc99ad1af486304bc424c (diff)
sched: Make default_scale_freq_power() static
As default_scale_{freq,smt}_power() and update_rt_power() are used in kernel/sched/fair.c only, annotate them as static functions. Signed-off-by: Li Zefan <lizefan@huawei.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/5135A7AF.8010900@huawei.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 04b834fa14bc..eadd113e1eb2 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -880,9 +880,6 @@ extern void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[],
880cpumask_var_t *alloc_sched_domains(unsigned int ndoms); 880cpumask_var_t *alloc_sched_domains(unsigned int ndoms);
881void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms); 881void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms);
882 882
883unsigned long default_scale_freq_power(struct sched_domain *sd, int cpu);
884unsigned long default_scale_smt_power(struct sched_domain *sd, int cpu);
885
886bool cpus_share_cache(int this_cpu, int that_cpu); 883bool cpus_share_cache(int this_cpu, int that_cpu);
887 884
888#else /* CONFIG_SMP */ 885#else /* CONFIG_SMP */