summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-01-23 21:55:54 -0500
committerSuren Baghdasaryan <surenb@google.com>2023-03-13 15:11:35 +0000
commitdcae812279bdb5601f6654b896edd649ec5d0d1f (patch)
tree12504200808e56c038619e5fd60a345bb97c976d
parent2ddb8193e67f80dfba5563686030422ef27cfb57 (diff)
arm64: Fix circular header dependency
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Signed-off-by: Suren Baghdasaryan <surenb@google.com>
-rw-r--r--arch/arm64/include/asm/spectre.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/spectre.h b/arch/arm64/include/asm/spectre.h
index db7b371b367c..31823d9715ab 100644
--- a/arch/arm64/include/asm/spectre.h
+++ b/arch/arm64/include/asm/spectre.h
@@ -13,8 +13,8 @@
#define __BP_HARDEN_HYP_VECS_SZ ((BP_HARDEN_EL2_SLOTS - 1) * SZ_2K)
#ifndef __ASSEMBLY__
-
-#include <linux/percpu.h>
+#include <linux/smp.h>
+#include <asm/percpu.h>
#include <asm/cpufeature.h>
#include <asm/virt.h>