summaryrefslogtreecommitdiff
path: root/arch/ia64/kernel/sal.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-08-06 14:36:20 +0200
committerIngo Molnar <mingo@kernel.org>2020-08-06 16:13:13 +0200
commitb3545192e2b4647234254c5122f8cbfddbcbdaa0 (patch)
tree734659cd75af8ea8418c9d5f978c6622b478ebc6 /arch/ia64/kernel/sal.c
parent13c01139b17163c9b2aa543a9c39f8bbc875b625 (diff)
locking, arch/ia64: Reduce <asm/smp.h> header dependencies by moving XTP bits into the new <asm/xtp.h> header
We want to remove the #include <asm/io.h> from <asm/smp.h>, but for this we have to move the XTP bits into a separate header first (as these bits rely on <asm/io.h> definitions), and include them in the .c files that rely on those APIs. Co-developed-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/ia64/kernel/sal.c')
-rw-r--r--arch/ia64/kernel/sal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/kernel/sal.c b/arch/ia64/kernel/sal.c
index c455ece977ad..e4f0705c0282 100644
--- a/arch/ia64/kernel/sal.c
+++ b/arch/ia64/kernel/sal.c
@@ -18,6 +18,7 @@
#include <asm/page.h>
#include <asm/sal.h>
#include <asm/pal.h>
+#include <asm/xtp.h>
__cacheline_aligned DEFINE_SPINLOCK(sal_lock);
unsigned long sal_platform_features;