[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 02/10] x86: Drop includes of mach_apic.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@xxxxxxxxxx> --- CC: Jan Beulich <JBeulich@xxxxxxxx> CC: Roger Pau Monné <roger.pau@xxxxxxxxxx> --- 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(-) diff --git a/xen/arch/x86/cpu/common.c b/xen/arch/x86/cpu/common.c index ff4cd2289797..067d855badf0 100644 --- a/xen/arch/x86/cpu/common.c +++ b/xen/arch/x86/cpu/common.c @@ -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" diff --git a/xen/arch/x86/cpu/intel.c b/xen/arch/x86/cpu/intel.c index 807b708217e9..6a7347968ba2 100644 --- a/xen/arch/x86/cpu/intel.c +++ b/xen/arch/x86/cpu/intel.c @@ -14,8 +14,6 @@ #include <asm/i387.h> #include <asm/trampoline.h> -#include <mach_apic.h> - #include "cpu.h" /* diff --git a/xen/arch/x86/genapic/delivery.c b/xen/arch/x86/genapic/delivery.c index 3def78f380d3..7bb7bd658650 100644 --- a/xen/arch/x86/genapic/delivery.c +++ b/xen/arch/x86/genapic/delivery.c @@ -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). diff --git a/xen/arch/x86/hpet.c b/xen/arch/x86/hpet.c index 2f54d3188966..51ff7f12f5c0 100644 --- a/xen/arch/x86/hpet.c +++ b/xen/arch/x86/hpet.c @@ -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) diff --git a/xen/arch/x86/smp.c b/xen/arch/x86/smp.c index 04c6a0572319..bd337e548c5a 100644 --- a/xen/arch/x86/smp.c +++ b/xen/arch/x86/smp.c @@ -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) diff --git a/xen/arch/x86/x86_64/acpi_mmcfg.c b/xen/arch/x86/x86_64/acpi_mmcfg.c index 7b0904622931..7fe5663c5984 100644 --- a/xen/arch/x86/x86_64/acpi_mmcfg.c +++ b/xen/arch/x86/x86_64/acpi_mmcfg.c @@ -37,7 +37,6 @@ #include <asm/io.h> #include <asm/mpspec.h> #include <asm/processor.h> -#include <mach_apic.h> #include "mmconfig.h" -- 2.39.5
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |