@@ -18,7 +18,6 @@
#include <asm/random.h>
#include <asm/setup.h>
#include <asm/shstk.h>
-#include <mach_apic.h>
#include <public/sysctl.h> /* for XEN_INVALID_{SOCKET,CORE}_ID */
#include "cpu.h"
@@ -14,8 +14,6 @@
#include <asm/i387.h>
#include <asm/trampoline.h>
-#include <mach_apic.h>
-
#include "cpu.h"
/*
@@ -1,9 +1,10 @@
#include <xen/irq.h>
#include <xen/sched.h>
+
+#include <asm/apic.h>
#include <asm/current.h>
#include <asm/smp.h>
#include <asm/hardirq.h>
-#include <mach_apic.h>
/*
* LOGICAL FLAT DELIVERY MODE (multicast via bitmask to <= 8 logical APIC IDs).
@@ -13,11 +13,12 @@
#include <xen/numa.h>
#include <xen/param.h>
#include <xen/sched.h>
+
+#include <asm/apic.h>
#include <asm/fixmap.h>
#include <asm/div64.h>
#include <asm/hpet.h>
#include <asm/msi.h>
-#include <mach_apic.h>
#include <xen/cpuidle.h>
#define MAX_DELTA_NS MILLISECS(10*1000)
@@ -14,7 +14,10 @@
#include <xen/delay.h>
#include <xen/perfc.h>
#include <xen/spinlock.h>
+
+#include <asm/apic.h>
#include <asm/current.h>
+#include <asm/genapic.h>
#include <asm/guest.h>
#include <asm/smp.h>
#include <asm/mc146818rtc.h>
@@ -23,7 +26,6 @@
#include <asm/hpet.h>
#include <asm/setup.h>
#include <irq_vectors.h>
-#include <mach_apic.h>
/* Helper functions to prepare APIC register values. */
static unsigned int prepare_ICR(unsigned int shortcut, int vector)
@@ -37,7 +37,6 @@
#include <asm/io.h>
#include <asm/mpspec.h>
#include <asm/processor.h>
-#include <mach_apic.h>
#include "mmconfig.h"
A number of files don't need mach_apic.h at all, or only need transitive dependenices. Drop the includes. 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/cpu/common.c | 1 - xen/arch/x86/cpu/intel.c | 2 -- xen/arch/x86/genapic/delivery.c | 3 ++- xen/arch/x86/hpet.c | 3 ++- xen/arch/x86/smp.c | 4 +++- xen/arch/x86/x86_64/acpi_mmcfg.c | 1 - 6 files changed, 7 insertions(+), 7 deletions(-)