aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/smp.h
diff options
context:
space:
mode:
authorBen Guthro <ben@guthro.net>2012-04-20 12:11:04 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-05-07 15:33:15 -0400
commitf447d56d36af18c5104ff29dcb1327c0c0ac3634 (patch)
treee83fe645cd0241714a027b1f42897217eee0f3b0 /arch/x86/xen/smp.h
parent569ca5b3f94cd0b3295ec5943aa457cf4a4f6a3a (diff)
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 @@
1#ifndef _XEN_SMP_H
2
3extern void xen_send_IPI_mask(const struct cpumask *mask,
4 int vector);
5extern void xen_send_IPI_mask_allbutself(const struct cpumask *mask,
6 int vector);
7extern void xen_send_IPI_allbutself(int vector);
8extern void physflat_send_IPI_allbutself(int vector);
9extern void xen_send_IPI_all(int vector);
10extern void xen_send_IPI_self(int vector);
11
12#endif