summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/xen/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86/xen/smp.h')
-rw-r--r--kernel/arch/x86/xen/smp.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/kernel/arch/x86/xen/smp.h b/kernel/arch/x86/xen/smp.h
new file mode 100644
index 000000000..963d62a35
--- /dev/null
+++ b/kernel/arch/x86/xen/smp.h
@@ -0,0 +1,19 @@
+#ifndef _XEN_SMP_H
+
+extern void xen_send_IPI_mask(const struct cpumask *mask,
+ int vector);
+extern void xen_send_IPI_mask_allbutself(const struct cpumask *mask,
+ int vector);
+extern void xen_send_IPI_allbutself(int vector);
+extern void xen_send_IPI_all(int vector);
+extern void xen_send_IPI_self(int vector);
+
+#ifdef CONFIG_XEN_PVH
+extern void xen_pvh_early_cpu_init(int cpu, bool entry);
+#else
+static inline void xen_pvh_early_cpu_init(int cpu, bool entry)
+{
+}
+#endif
+
+#endif