aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/smp.h')
-rw-r--r--include/asm-ia64/smp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-ia64/smp.h b/include/asm-ia64/smp.h
index ec5f355fb7e3..12d96e0cd513 100644
--- a/include/asm-ia64/smp.h
+++ b/include/asm-ia64/smp.h
@@ -15,6 +15,7 @@
15#include <linux/kernel.h> 15#include <linux/kernel.h>
16#include <linux/cpumask.h> 16#include <linux/cpumask.h>
17#include <linux/bitops.h> 17#include <linux/bitops.h>
18#include <linux/irqreturn.h>
18 19
19#include <asm/io.h> 20#include <asm/io.h>
20#include <asm/param.h> 21#include <asm/param.h>
@@ -38,9 +39,6 @@ ia64_get_lid (void)
38 return lid.f.id << 8 | lid.f.eid; 39 return lid.f.id << 8 | lid.f.eid;
39} 40}
40 41
41extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *),
42 void *info, int wait);
43
44#define hard_smp_processor_id() ia64_get_lid() 42#define hard_smp_processor_id() ia64_get_lid()
45 43
46#ifdef CONFIG_SMP 44#ifdef CONFIG_SMP
@@ -123,12 +121,14 @@ extern void __init smp_build_cpu_map(void);
123extern void __init init_smp_config (void); 121extern void __init init_smp_config (void);
124extern void smp_do_timer (struct pt_regs *regs); 122extern void smp_do_timer (struct pt_regs *regs);
125 123
124extern irqreturn_t handle_IPI(int irq, void *dev_id);
126extern void smp_send_reschedule (int cpu); 125extern void smp_send_reschedule (int cpu);
127extern void lock_ipi_calllock(void);
128extern void unlock_ipi_calllock(void);
129extern void identify_siblings (struct cpuinfo_ia64 *); 126extern void identify_siblings (struct cpuinfo_ia64 *);
130extern int is_multithreading_enabled(void); 127extern int is_multithreading_enabled(void);
131 128
129extern void arch_send_call_function_single_ipi(int cpu);
130extern void arch_send_call_function_ipi(cpumask_t mask);
131
132#else /* CONFIG_SMP */ 132#else /* CONFIG_SMP */
133 133
134#define cpu_logical_id(i) 0 134#define cpu_logical_id(i) 0