arm64: Add missing include of asm/cpufeature.h to asm/mmu.h
authorWill Deacon <will@kernel.org>
Thu, 2 Dec 2021 17:10:46 +0000 (17:10 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 6 Dec 2021 08:37:03 +0000 (08:37 +0000)
commit7e04f05984dd03edad7daaa4fa97958b7133c62a
tree33fc6adac93c7655460f2e2ba1073f8091226eca
parentd58071a8a76d779eedab38033ae4c821c30295a5
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
arch/arm64/include/asm/mmu.h