aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/process.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/process.c
parentx86/headers: Remove APIC headers from <asm/smp.h> (diff)
downloadlinux-dev-b3545192e2b4647234254c5122f8cbfddbcbdaa0.tar.xz
linux-dev-b3545192e2b4647234254c5122f8cbfddbcbdaa0.zip
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/process.c')
-rw-r--r--arch/ia64/kernel/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c
index 96dfb9e4b16f..4562a1aed454 100644
--- a/arch/ia64/kernel/process.c
+++ b/arch/ia64/kernel/process.c
@@ -48,6 +48,7 @@
#include <linux/uaccess.h>
#include <asm/unwind.h>
#include <asm/user.h>
+#include <asm/xtp.h>
#include "entry.h"