summaryrefslogtreecommitdiff
path: root/arch/x86/xen/smp.h
diff options
context:
space:
mode:
authorBen Guthro <ben@guthro.net>2012-04-20 20:11:04 +0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-05-07 23:33:15 +0400
commitf447d56d36af18c5104ff29dcb1327c0c0ac3634 (patch)
treee83fe645cd0241714a027b1f42897217eee0f3b0 /arch/x86/xen/smp.h
parent569ca5b3f94cd0b3295ec5943aa457cf4a4f6a3a (diff)
downloadlinux-f447d56d36af18c5104ff29dcb1327c0c0ac3634.tar.xz
xen: implement apic ipi interface
Map native ipi vector to xen vector. Implement apic ipi interface with xen_send_IPI_one. Tested-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Ben Guthro <ben@guthro.net> Signed-off-by: Lin Ming <mlin@ss.pku.edu.cn> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/smp.h')
-rw-r--r--arch/x86/xen/smp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/xen/smp.h b/arch/x86/xen/smp.h
new file mode 100644
index 000000000000..8981a76d081a
--- /dev/null
+++ b/arch/x86/xen/smp.h
@@ -0,0 +1,12 @@
+#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 physflat_send_IPI_allbutself(int vector);
+extern void xen_send_IPI_all(int vector);
+extern void xen_send_IPI_self(int vector);
+
+#endif