aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/smp.h
diff options
context:
space:
mode:
authorGravatar Ingo Molnar <mingo@kernel.org> 2020-08-06 14:34:32 +0200
committerGravatar Ingo Molnar <mingo@kernel.org> 2020-08-06 16:13:09 +0200
commit13c01139b17163c9b2aa543a9c39f8bbc875b625 (patch)
tree130043995a33a622a6a41661e25224c22a3f2df9 /arch/x86/include/asm/smp.h
parentMerge branch 'WIP.locking/seqlocks' into locking/urgent (diff)
downloadlinux-13c01139b17163c9b2aa543a9c39f8bbc875b625.tar.gz
linux-13c01139b17163c9b2aa543a9c39f8bbc875b625.tar.bz2
linux-13c01139b17163c9b2aa543a9c39f8bbc875b625.zip
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/include/asm/smp.h')
-rw-r--r--arch/x86/include/asm/smp.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h
index e15f364efbcc..c0538f82c9a2 100644
--- a/arch/x86/include/asm/smp.h
+++ b/arch/x86/include/asm/smp.h
@@ -5,16 +5,6 @@
#include <linux/cpumask.h>
#include <asm/percpu.h>
-/*
- * We need the APIC definitions automatically as part of 'smp.h'
- */
-#ifdef CONFIG_X86_LOCAL_APIC
-# include <asm/mpspec.h>
-# include <asm/apic.h>
-# ifdef CONFIG_X86_IO_APIC
-# include <asm/io_apic.h>
-# endif
-#endif
#include <asm/thread_info.h>
#include <asm/cpumask.h>