diff options
Diffstat (limited to 'arch/sh/kernel/smp.c')
-rw-r--r-- | arch/sh/kernel/smp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 8f4027412614..442d8d47a41e 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c | |||
@@ -47,7 +47,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) | |||
47 | plat_prepare_cpus(max_cpus); | 47 | plat_prepare_cpus(max_cpus); |
48 | 48 | ||
49 | #ifndef CONFIG_HOTPLUG_CPU | 49 | #ifndef CONFIG_HOTPLUG_CPU |
50 | cpu_present_map = cpu_possible_map; | 50 | init_cpu_present(&cpu_possible_map); |
51 | #endif | 51 | #endif |
52 | } | 52 | } |
53 | 53 | ||
@@ -58,8 +58,8 @@ void __devinit smp_prepare_boot_cpu(void) | |||
58 | __cpu_number_map[0] = cpu; | 58 | __cpu_number_map[0] = cpu; |
59 | __cpu_logical_map[0] = cpu; | 59 | __cpu_logical_map[0] = cpu; |
60 | 60 | ||
61 | cpu_set(cpu, cpu_online_map); | 61 | set_cpu_online(cpu, true); |
62 | cpu_set(cpu, cpu_possible_map); | 62 | set_cpu_possible(cpu, true); |
63 | } | 63 | } |
64 | 64 | ||
65 | asmlinkage void __cpuinit start_secondary(void) | 65 | asmlinkage void __cpuinit start_secondary(void) |
@@ -171,11 +171,11 @@ void smp_send_stop(void) | |||
171 | smp_call_function(stop_this_cpu, 0, 0); | 171 | smp_call_function(stop_this_cpu, 0, 0); |
172 | } | 172 | } |
173 | 173 | ||
174 | void arch_send_call_function_ipi(cpumask_t mask) | 174 | void arch_send_call_function_ipi_mask(const struct cpumask *mask) |
175 | { | 175 | { |
176 | int cpu; | 176 | int cpu; |
177 | 177 | ||
178 | for_each_cpu_mask(cpu, mask) | 178 | for_each_cpu(cpu, mask) |
179 | plat_send_ipi(cpu, SMP_MSG_FUNCTION); | 179 | plat_send_ipi(cpu, SMP_MSG_FUNCTION); |
180 | } | 180 | } |
181 | 181 | ||