summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-03-05 16:07:11 +0800
committerIngo Molnar <mingo@kernel.org>2013-03-06 11:24:34 +0100
commit15f803c94bd92b17708aad9e74226fd0b2c9130c (patch)
tree9e82cc81ab4de87e3878b503170be862a96dbe54 /include/linux/sched.h
parentc82ba9fa7588dfd02d4dc99ad1af486304bc424c (diff)
downloadblackbird-op-linux-15f803c94bd92b17708aad9e74226fd0b2c9130c.tar.gz
blackbird-op-linux-15f803c94bd92b17708aad9e74226fd0b2c9130c.zip
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[],
cpumask_var_t *alloc_sched_domains(unsigned int ndoms);
void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms);
-unsigned long default_scale_freq_power(struct sched_domain *sd, int cpu);
-unsigned long default_scale_smt_power(struct sched_domain *sd, int cpu);
-
bool cpus_share_cache(int this_cpu, int that_cpu);
#else /* CONFIG_SMP */
OpenPOWER on IntegriCloud