[PATCH v4 09/25] KVM: arm64: Include asm/kvm_mmu.h in nvhe/mem_protect.h

Philippe Mathieu-Daudé philmd at linaro.org
Mon Oct 17 13:22:47 PDT 2022


On 17/10/22 13:51, Will Deacon wrote:
> nvhe/mem_protect.h refers to __load_stage2() in the definition of
> __load_host_stage2() but doesn't include the relevant header.
> 
> Include asm/kvm_mmu.h in nvhe/mem_protect.h so that users of the latter
> don't have to do this themselves.
> 
> Tested-by: Vincent Donnefort <vdonnefort at google.com>
> Signed-off-by: Will Deacon <will at kernel.org>
> ---
>   arch/arm64/kvm/hyp/include/nvhe/mem_protect.h | 1 +
>   1 file changed, 1 insertion(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd at linaro.org>



More information about the linux-arm-kernel mailing list