[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] x86: Drop includes of mach_apic.h
commit 7f81e817741f3a6f9314283d410aa1616f5c15fd Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Fri Nov 8 19:07:06 2024 +0000 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Mon Nov 11 15:25:38 2024 +0000 x86: Drop includes of mach_apic.h A number of files don't need mach_apic.h at all, or only need transitive dependences. Drop the includes. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- 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 ff4cd22897..067d855bad 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 807b708217..6a7347968b 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 3def78f380..7bb7bd6586 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 2f54d31889..51ff7f12f5 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 04c6a05723..bd337e548c 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 7b09046229..7fe5663c59 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" -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |