Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: Fix circular header dependency

Replace linux/percpu.h include with asm/percpu.h to avoid circular
dependency.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>

+2 -2
+2 -2
arch/arm64/include/asm/spectre.h
··· 13 13 #define __BP_HARDEN_HYP_VECS_SZ ((BP_HARDEN_EL2_SLOTS - 1) * SZ_2K) 14 14 15 15 #ifndef __ASSEMBLY__ 16 - 17 - #include <linux/percpu.h> 16 + #include <linux/smp.h> 17 + #include <asm/percpu.h> 18 18 19 19 #include <asm/cpufeature.h> 20 20 #include <asm/virt.h>