x86/headers: Remove APIC headers from <asm/smp.h>
authorIngo Molnar <mingo@kernel.org>
Thu, 6 Aug 2020 12:34:32 +0000 (14:34 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 6 Aug 2020 14:13:09 +0000 (16:13 +0200)
commit13c01139b17163c9b2aa543a9c39f8bbc875b625
tree130043995a33a622a6a41661e25224c22a3f2df9
parenta703f3633ff1d982bc4adfe7e0921bedb1701216
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>
17 files changed:
arch/x86/include/asm/smp.h
arch/x86/include/asm/tsc.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/bigsmp_32.c
arch/x86/kernel/apic/ipi.c
arch/x86/kernel/apic/local.h
arch/x86/kernel/apic/probe_32.c
arch/x86/kernel/devicetree.c
arch/x86/kernel/irqinit.c
arch/x86/kernel/jailhouse.c
arch/x86/kernel/mpparse.c
arch/x86/kernel/setup.c
arch/x86/kernel/topology.c
arch/x86/xen/apic.c
arch/x86/xen/enlighten_hvm.c
arch/x86/xen/smp_pv.c
drivers/iommu/intel/irq_remapping.c