Skip to content

Commit 04bc786

Browse files
author
Kent Overstreet
committed
arm64: Fix circular header dependency
Replace linux/percpu.h include with asm/percpu.h to avoid circular dependency. Signed-off-by: Kent Overstreet <[email protected]> Signed-off-by: Suren Baghdasaryan <[email protected]>
1 parent 6060ef3 commit 04bc786

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/include/asm/spectre.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#define __BP_HARDEN_HYP_VECS_SZ ((BP_HARDEN_EL2_SLOTS - 1) * SZ_2K)
1414

1515
#ifndef __ASSEMBLY__
16-
17-
#include <linux/percpu.h>
16+
#include <linux/smp.h>
17+
#include <asm/percpu.h>
1818

1919
#include <asm/cpufeature.h>
2020
#include <asm/virt.h>

0 commit comments

Comments
 (0)