diff options
author | Will Deacon <will@kernel.org> | 2021-12-02 17:10:46 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-12-06 08:37:03 +0000 |
commit | 7e04f05984dd03edad7daaa4fa97958b7133c62a (patch) | |
tree | 33fc6adac93c7655460f2e2ba1073f8091226eca | |
parent | d58071a8a76d779eedab38033ae4c821c30295a5 (diff) |
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 <will@kernel.org>
Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211202171048.26924-2-will@kernel.org
-rw-r--r-- | arch/arm64/include/asm/mmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/mmu.h b/arch/arm64/include/asm/mmu.h index e9c30859f80c..48f8466a4be9 100644 --- a/arch/arm64/include/asm/mmu.h +++ b/arch/arm64/include/asm/mmu.h @@ -15,6 +15,7 @@ #ifndef __ASSEMBLY__ #include <linux/refcount.h> +#include <asm/cpufeature.h> typedef struct { atomic64_t id; |