diff options
author | Ingo Molnar <mingo@kernel.org> | 2020-08-06 15:34:32 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-08-06 17:13:09 +0300 |
commit | 13c01139b17163c9b2aa543a9c39f8bbc875b625 (patch) | |
tree | 130043995a33a622a6a41661e25224c22a3f2df9 /arch/x86/xen | |
parent | a703f3633ff1d982bc4adfe7e0921bedb1701216 (diff) | |
download | linux-13c01139b17163c9b2aa543a9c39f8bbc875b625.tar.xz |
x86/headers: Remove APIC headers from <asm/smp.h>
The APIC headers are relatively complex and bring in additional
header dependencies - while smp.h is a relatively simple header
included from high level headers.
Remove the dependency and add in the missing #include's in .c
files where they gained it indirectly before.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/apic.c | 1 | ||||
-rw-r--r-- | arch/x86/xen/enlighten_hvm.c | 1 | ||||
-rw-r--r-- | arch/x86/xen/smp_pv.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/xen/apic.c b/arch/x86/xen/apic.c index 5e53bfbe5823..2df7d089ad54 100644 --- a/arch/x86/xen/apic.c +++ b/arch/x86/xen/apic.c @@ -3,6 +3,7 @@ #include <asm/x86_init.h> #include <asm/apic.h> +#include <asm/io_apic.h> #include <asm/xen/hypercall.h> #include <xen/xen.h> diff --git a/arch/x86/xen/enlighten_hvm.c b/arch/x86/xen/enlighten_hvm.c index 3e89b0067ff0..9e87ab010c82 100644 --- a/arch/x86/xen/enlighten_hvm.c +++ b/arch/x86/xen/enlighten_hvm.c @@ -11,6 +11,7 @@ #include <asm/cpu.h> #include <asm/smp.h> +#include <asm/io_apic.h> #include <asm/reboot.h> #include <asm/setup.h> #include <asm/idtentry.h> diff --git a/arch/x86/xen/smp_pv.c b/arch/x86/xen/smp_pv.c index 171aff1b11f2..8b04c0ddee37 100644 --- a/arch/x86/xen/smp_pv.c +++ b/arch/x86/xen/smp_pv.c @@ -29,6 +29,7 @@ #include <asm/idtentry.h> #include <asm/desc.h> #include <asm/cpu.h> +#include <asm/io_apic.h> #include <xen/interface/xen.h> #include <xen/interface/vcpu.h> |