aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/smp_plat.h
diff options
context:
space:
mode:
authorCarlos Bilbao <bilbao@vt.edu>2021-07-08 07:15:42 -0400
committerWill Deacon <will@kernel.org>2021-07-12 13:37:34 +0100
commite62e074814862cffd8e60a1bdf52d6b592a03675 (patch)
treebfece5a24f2d0e2cdae88de077cdef1e8a61a603 /arch/arm64/include/asm/smp_plat.h
parentarm64: fix strlen() with CONFIG_KASAN_HW_TAGS (diff)
downloadlinux-dev-e62e074814862cffd8e60a1bdf52d6b592a03675.tar.xz
linux-dev-e62e074814862cffd8e60a1bdf52d6b592a03675.zip
arm64: Add missing header <asm/smp.h> in two files
Add missing header <asm/smp.h> on include/asm/smp_plat.h, as it calls function cpu_logical_map(). Also include it on kernel/cpufeature.c since it has calls to functions cpu_panic_kernel() and cpu_die_early(). Both files call functions defined on this header, make the header dependencies less fragile. Signed-off-by: Carlos Bilbao <bilbao@vt.edu> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/4325940.LvFx2qVVIh@iron-maiden Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/smp_plat.h')
-rw-r--r--arch/arm64/include/asm/smp_plat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/smp_plat.h b/arch/arm64/include/asm/smp_plat.h
index 99ad77df8f52..97ddc6c203b7 100644
--- a/arch/arm64/include/asm/smp_plat.h
+++ b/arch/arm64/include/asm/smp_plat.h
@@ -10,6 +10,7 @@
#include <linux/cpumask.h>
+#include <asm/smp.h>
#include <asm/types.h>
struct mpidr_hash {