summaryrefslogtreecommitdiff
path: root/arch/x86/xen/smp.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2017-03-14 18:35:46 +0100
committerJuergen Gross <jgross@suse.com>2017-05-02 11:05:00 +0200
commit83b96794e0ea97ca7e05b15e31d31dac71d3fc2a (patch)
tree241fcca885f89d942696cb7a603d039565dd0710 /arch/x86/xen/smp.h
parenta52482d9355e25ab7bb3cb190ffe26364db09b3e (diff)
x86/xen: split off smp_pv.c
Basically, smp.c is renamed to smp_pv.c and some code moved out to common smp.c. struct xen_common_irq delcaration ended up in smp.h. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/xen/smp.h')
-rw-r--r--arch/x86/xen/smp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/xen/smp.h b/arch/x86/xen/smp.h
index 2e8cd56c5a8f..8ebb6acca64a 100644
--- a/arch/x86/xen/smp.h
+++ b/arch/x86/xen/smp.h
@@ -17,6 +17,11 @@ void xen_smp_intr_free_pv(unsigned int cpu);
void xen_smp_send_reschedule(int cpu);
void xen_smp_send_call_function_ipi(const struct cpumask *mask);
void xen_smp_send_call_function_single_ipi(int cpu);
+
+struct xen_common_irq {
+ int irq;
+ char *name;
+};
#else /* CONFIG_SMP */
static inline int xen_smp_intr_init(unsigned int cpu)