diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-04-07 08:09:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-04-11 06:58:16 -0400 |
commit | c4a8849af939082052d8117f9ea3e170a99ff232 (patch) | |
tree | 845dac046d187c58643f987aac4a4eebeebbb88f /kernel/sched.c | |
parent | f4ad9bd208c98f32a6f9136618e0b8bebe3fb370 (diff) |
sched: Remove obsolete arch_ prefixes
Non weak static functions clearly are not arch specific, so remove the
arch_ prefix.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Nick Piggin <npiggin@kernel.dk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20110407122941.820460566@chello.nl
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 48013633d792..d3e183c85f49 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -231,7 +231,7 @@ static void destroy_rt_bandwidth(struct rt_bandwidth *rt_b) | |||
231 | #endif | 231 | #endif |
232 | 232 | ||
233 | /* | 233 | /* |
234 | * sched_domains_mutex serializes calls to arch_init_sched_domains, | 234 | * sched_domains_mutex serializes calls to init_sched_domains, |
235 | * detach_destroy_domains and partition_sched_domains. | 235 | * detach_destroy_domains and partition_sched_domains. |
236 | */ | 236 | */ |
237 | static DEFINE_MUTEX(sched_domains_mutex); | 237 | static DEFINE_MUTEX(sched_domains_mutex); |
@@ -7670,7 +7670,7 @@ void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms) | |||
7670 | * For now this just excludes isolated cpus, but could be used to | 7670 | * For now this just excludes isolated cpus, but could be used to |
7671 | * exclude other special cases in the future. | 7671 | * exclude other special cases in the future. |
7672 | */ | 7672 | */ |
7673 | static int arch_init_sched_domains(const struct cpumask *cpu_map) | 7673 | static int init_sched_domains(const struct cpumask *cpu_map) |
7674 | { | 7674 | { |
7675 | int err; | 7675 | int err; |
7676 | 7676 | ||
@@ -7687,7 +7687,7 @@ static int arch_init_sched_domains(const struct cpumask *cpu_map) | |||
7687 | return err; | 7687 | return err; |
7688 | } | 7688 | } |
7689 | 7689 | ||
7690 | static void arch_destroy_sched_domains(const struct cpumask *cpu_map, | 7690 | static void destroy_sched_domains(const struct cpumask *cpu_map, |
7691 | struct cpumask *tmpmask) | 7691 | struct cpumask *tmpmask) |
7692 | { | 7692 | { |
7693 | free_sched_groups(cpu_map, tmpmask); | 7693 | free_sched_groups(cpu_map, tmpmask); |
@@ -7706,7 +7706,7 @@ static void detach_destroy_domains(const struct cpumask *cpu_map) | |||
7706 | for_each_cpu(i, cpu_map) | 7706 | for_each_cpu(i, cpu_map) |
7707 | cpu_attach_domain(NULL, &def_root_domain, i); | 7707 | cpu_attach_domain(NULL, &def_root_domain, i); |
7708 | synchronize_sched(); | 7708 | synchronize_sched(); |
7709 | arch_destroy_sched_domains(cpu_map, to_cpumask(tmpmask)); | 7709 | destroy_sched_domains(cpu_map, to_cpumask(tmpmask)); |
7710 | } | 7710 | } |
7711 | 7711 | ||
7712 | /* handle null as "default" */ | 7712 | /* handle null as "default" */ |
@@ -7815,7 +7815,7 @@ match2: | |||
7815 | } | 7815 | } |
7816 | 7816 | ||
7817 | #if defined(CONFIG_SCHED_MC) || defined(CONFIG_SCHED_SMT) | 7817 | #if defined(CONFIG_SCHED_MC) || defined(CONFIG_SCHED_SMT) |
7818 | static void arch_reinit_sched_domains(void) | 7818 | static void reinit_sched_domains(void) |
7819 | { | 7819 | { |
7820 | get_online_cpus(); | 7820 | get_online_cpus(); |
7821 | 7821 | ||
@@ -7848,7 +7848,7 @@ static ssize_t sched_power_savings_store(const char *buf, size_t count, int smt) | |||
7848 | else | 7848 | else |
7849 | sched_mc_power_savings = level; | 7849 | sched_mc_power_savings = level; |
7850 | 7850 | ||
7851 | arch_reinit_sched_domains(); | 7851 | reinit_sched_domains(); |
7852 | 7852 | ||
7853 | return count; | 7853 | return count; |
7854 | } | 7854 | } |
@@ -7974,7 +7974,7 @@ void __init sched_init_smp(void) | |||
7974 | #endif | 7974 | #endif |
7975 | get_online_cpus(); | 7975 | get_online_cpus(); |
7976 | mutex_lock(&sched_domains_mutex); | 7976 | mutex_lock(&sched_domains_mutex); |
7977 | arch_init_sched_domains(cpu_active_mask); | 7977 | init_sched_domains(cpu_active_mask); |
7978 | cpumask_andnot(non_isolated_cpus, cpu_possible_mask, cpu_isolated_map); | 7978 | cpumask_andnot(non_isolated_cpus, cpu_possible_mask, cpu_isolated_map); |
7979 | if (cpumask_empty(non_isolated_cpus)) | 7979 | if (cpumask_empty(non_isolated_cpus)) |
7980 | cpumask_set_cpu(smp_processor_id(), non_isolated_cpus); | 7980 | cpumask_set_cpu(smp_processor_id(), non_isolated_cpus); |