Skip to content

Commit 7e04f05

Browse files
willdeaconMarc Zyngier
authored andcommitted
arm64: Add missing include of asm/cpufeature.h to asm/mmu.h
asm/mmu.h refers to cpus_have_const_cap() in the definition of arm64_kernel_unmapped_at_el0() so include asm/cpufeature.h directly rather than force all users of the header to do it themselves. Signed-off-by: Will Deacon <[email protected]> Tested-by: Fuad Tabba <[email protected]> Reviewed-by: Fuad Tabba <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent d58071a commit 7e04f05

File tree

1 file changed

+1
-0
lines changed
  • arch/arm64/include/asm

1 file changed

+1
-0
lines changed

arch/arm64/include/asm/mmu.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#ifndef __ASSEMBLY__
1616

1717
#include <linux/refcount.h>
18+
#include <asm/cpufeature.h>
1819

1920
typedef struct {
2021
atomic64_t id;

0 commit comments

Comments
 (0)