@@ -26,6 +26,8 @@
#include <xen/delay.h>
#include <xen/smp.h>
#include <xen/softirq.h>
+
+#include <asm/irq-vectors.h>
#include <asm/mc146818rtc.h>
#include <asm/microcode.h>
#include <asm/msr.h>
@@ -38,7 +40,6 @@
#include <asm/genapic.h>
#include <io_ports.h>
-#include <irq_vectors.h>
#include <xen/kexec.h>
#include <asm/guest.h>
#include <asm/nmi.h>
@@ -13,13 +13,15 @@
#include <xen/guest_access.h>
#include <xen/hypercall.h>
#include <xen/sched.h>
+
+#include <asm/irq-vectors.h>
#include <asm/regs.h>
#include <asm/msr.h>
#include <asm/nmi.h>
#include <asm/p2m.h>
#include <asm/vpmu.h>
#include <asm/apic.h>
-#include <irq_vectors.h>
+
#include <public/pmu.h>
#include <xsm/xsm.h>
@@ -19,9 +19,9 @@
#include <xen/delay.h>
#include <asm/apic.h>
#include <asm/asm_defns.h>
+#include <asm/irq-vectors.h>
#include <asm/setup.h>
#include <io_ports.h>
-#include <irq_vectors.h>
/*
* This is the 'legacy' 8259A Programmable Interrupt Controller,
similarity index 100%
rename from xen/arch/x86/include/asm/mach-default/irq_vectors.h
rename to xen/arch/x86/include/asm/irq-vectors.h
@@ -35,6 +35,7 @@
#include <asm/genapic.h>
#include <asm/hpet.h>
#include <asm/io_apic.h>
+#include <asm/irq-vectors.h>
#include <asm/mc146818rtc.h>
#include <asm/smp.h>
#include <asm/desc.h>
@@ -42,7 +43,6 @@
#include <asm/setup.h>
#include <io_ports.h>
-#include <irq_vectors.h>
#include <public/physdev.h>
#include <xen/trace.h>
@@ -25,11 +25,11 @@
#include <asm/apic.h>
#include <asm/genapic.h>
#include <asm/io_apic.h>
+#include <asm/irq-vectors.h>
#include <asm/msi.h>
#include <asm/current.h>
#include <asm/flushtlb.h>
-#include <irq_vectors.h>
#include <public/physdev.h>
/* opt_noirqbalance: If true, software IRQ balancing/affinity is disabled. */
@@ -26,6 +26,7 @@
#include <asm/genapic.h>
#include <asm/io.h>
#include <asm/io_apic.h>
+#include <asm/irq-vectors.h>
#include <asm/smp.h>
#include <asm/desc.h>
#include <asm/msi.h>
@@ -33,7 +34,6 @@
#include <asm/p2m.h>
#include <io_ports.h>
-#include <irq_vectors.h>
#include <public/physdev.h>
#include <xen/iommu.h>
#include <xsm/xsm.h>
@@ -11,9 +11,10 @@
#include <xen/hypercall.h>
#include <xen/nospec.h>
#include <xen/trace.h>
+
#include <asm/apic.h>
+#include <asm/irq-vectors.h>
#include <asm/multicall.h>
-#include <irq_vectors.h>
/* Forced inline to cause 'compat' to be evaluated at compile time. */
static void always_inline
@@ -13,10 +13,10 @@
#include <xen/softirq.h>
#include <asm/debugreg.h>
+#include <asm/irq-vectors.h>
#include <asm/pv/trace.h>
#include <asm/shared.h>
#include <asm/traps.h>
-#include <irq_vectors.h>
void pv_inject_event(const struct x86_event *event)
{
@@ -19,13 +19,13 @@
#include <asm/current.h>
#include <asm/genapic.h>
#include <asm/guest.h>
+#include <asm/irq-vectors.h>
#include <asm/smp.h>
#include <asm/mc146818rtc.h>
#include <asm/flushtlb.h>
#include <asm/hardirq.h>
#include <asm/hpet.h>
#include <asm/setup.h>
-#include <irq_vectors.h>
/* Helper functions to prepare APIC register values. */
static unsigned int prepare_ICR(unsigned int shortcut, int vector)
@@ -39,7 +39,7 @@
#include <asm/time.h>
#include <asm/tboot.h>
#include <asm/trampoline.h>
-#include <irq_vectors.h>
+#include <asm/irq-vectors.h>
unsigned long __read_mostly trampoline_phys;
enum ap_boot_method __read_mostly ap_boot_method = AP_BOOT_NORMAL;
@@ -69,7 +69,7 @@
#include <public/hvm/params.h>
#include <asm/cpuid.h>
#include <xsm/xsm.h>
-#include <asm/mach-default/irq_vectors.h>
+#include <asm/irq-vectors.h>
#include <asm/pv/traps.h>
#include <asm/pv/trace.h>
#include <asm/pv/mm.h>
@@ -5,11 +5,11 @@
.file "x86_64/compat/entry.S"
#include <asm/asm_defns.h>
+#include <asm/irq-vectors.h>
#include <asm/page.h>
#include <asm/processor.h>
#include <asm/desc.h>
#include <public/xen.h>
-#include <irq_vectors.h>
FUNC(entry_int82)
ENDBR64
@@ -7,10 +7,10 @@
.file "x86_64/entry.S"
#include <asm/asm_defns.h>
+#include <asm/irq-vectors.h>
#include <asm/page.h>
#include <asm/processor.h>
#include <public/xen.h>
-#include <irq_vectors.h>
/* %rsp: struct cpu_user_regs */
.macro ASSERT_CONTEXT_IS_XEN
irq_vectors.h is included by with multiple paths. Move it to be a regular header instead. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> --- CC: Jan Beulich <JBeulich@suse.com> CC: Roger Pau Monné <roger.pau@citrix.com> --- xen/arch/x86/apic.c | 3 ++- xen/arch/x86/cpu/vpmu.c | 4 +++- xen/arch/x86/i8259.c | 2 +- .../include/asm/{mach-default/irq_vectors.h => irq-vectors.h} | 0 xen/arch/x86/io_apic.c | 2 +- xen/arch/x86/irq.c | 2 +- xen/arch/x86/msi.c | 2 +- xen/arch/x86/pv/hypercall.c | 3 ++- xen/arch/x86/pv/traps.c | 2 +- xen/arch/x86/smp.c | 2 +- xen/arch/x86/smpboot.c | 2 +- xen/arch/x86/traps.c | 2 +- xen/arch/x86/x86_64/compat/entry.S | 2 +- xen/arch/x86/x86_64/entry.S | 2 +- 14 files changed, 17 insertions(+), 13 deletions(-) rename xen/arch/x86/include/asm/{mach-default/irq_vectors.h => irq-vectors.h} (100%)