diff options
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/smp.h | 1 | ||||
-rw-r--r-- | arch/ia64/include/asm/topology.h | 3 | ||||
-rw-r--r-- | arch/ia64/kernel/smp.c | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/arch/ia64/include/asm/smp.h b/arch/ia64/include/asm/smp.h index d217d1d4e051..0b3b3997decd 100644 --- a/arch/ia64/include/asm/smp.h +++ b/arch/ia64/include/asm/smp.h | |||
@@ -127,7 +127,6 @@ extern int is_multithreading_enabled(void); | |||
127 | 127 | ||
128 | extern void arch_send_call_function_single_ipi(int cpu); | 128 | extern void arch_send_call_function_single_ipi(int cpu); |
129 | extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); | 129 | extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); |
130 | #define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask | ||
131 | 130 | ||
132 | #else /* CONFIG_SMP */ | 131 | #else /* CONFIG_SMP */ |
133 | 132 | ||
diff --git a/arch/ia64/include/asm/topology.h b/arch/ia64/include/asm/topology.h index d0141fbf51d0..3ddb4e709dba 100644 --- a/arch/ia64/include/asm/topology.h +++ b/arch/ia64/include/asm/topology.h | |||
@@ -33,7 +33,6 @@ | |||
33 | /* | 33 | /* |
34 | * Returns a bitmask of CPUs on Node 'node'. | 34 | * Returns a bitmask of CPUs on Node 'node'. |
35 | */ | 35 | */ |
36 | #define node_to_cpumask(node) (node_to_cpu_mask[node]) | ||
37 | #define cpumask_of_node(node) (&node_to_cpu_mask[node]) | 36 | #define cpumask_of_node(node) (&node_to_cpu_mask[node]) |
38 | 37 | ||
39 | /* | 38 | /* |
@@ -104,8 +103,6 @@ void build_cpu_to_node_map(void); | |||
104 | #ifdef CONFIG_SMP | 103 | #ifdef CONFIG_SMP |
105 | #define topology_physical_package_id(cpu) (cpu_data(cpu)->socket_id) | 104 | #define topology_physical_package_id(cpu) (cpu_data(cpu)->socket_id) |
106 | #define topology_core_id(cpu) (cpu_data(cpu)->core_id) | 105 | #define topology_core_id(cpu) (cpu_data(cpu)->core_id) |
107 | #define topology_core_siblings(cpu) (cpu_core_map[cpu]) | ||
108 | #define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu)) | ||
109 | #define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) | 106 | #define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) |
110 | #define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) | 107 | #define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) |
111 | #define smt_capable() (smp_num_siblings > 1) | 108 | #define smt_capable() (smp_num_siblings > 1) |
diff --git a/arch/ia64/kernel/smp.c b/arch/ia64/kernel/smp.c index 93ebfea43c6c..dabeefe21134 100644 --- a/arch/ia64/kernel/smp.c +++ b/arch/ia64/kernel/smp.c | |||
@@ -302,7 +302,7 @@ smp_flush_tlb_mm (struct mm_struct *mm) | |||
302 | return; | 302 | return; |
303 | } | 303 | } |
304 | 304 | ||
305 | smp_call_function_mask(mm->cpu_vm_mask, | 305 | smp_call_function_many(mm_cpumask(mm), |
306 | (void (*)(void *))local_finish_flush_tlb_mm, mm, 1); | 306 | (void (*)(void *))local_finish_flush_tlb_mm, mm, 1); |
307 | local_irq_disable(); | 307 | local_irq_disable(); |
308 | local_finish_flush_tlb_mm(mm); | 308 | local_finish_flush_tlb_mm(mm); |