Linux 4.11-rc5
[linux/fpc-iii.git] / arch / x86 / xen / smp.h
blob9beef333584abee258d704af97c8af8dd226d33a
1 #ifndef _XEN_SMP_H
3 #ifdef CONFIG_SMP
4 extern void xen_send_IPI_mask(const struct cpumask *mask,
5 int vector);
6 extern void xen_send_IPI_mask_allbutself(const struct cpumask *mask,
7 int vector);
8 extern void xen_send_IPI_allbutself(int vector);
9 extern void xen_send_IPI_all(int vector);
10 extern void xen_send_IPI_self(int vector);
12 extern int xen_smp_intr_init(unsigned int cpu);
13 extern void xen_smp_intr_free(unsigned int cpu);
15 #else /* CONFIG_SMP */
17 static inline int xen_smp_intr_init(unsigned int cpu)
19 return 0;
21 static inline void xen_smp_intr_free(unsigned int cpu) {}
22 #endif /* CONFIG_SMP */
24 #endif