From: Jacob Xu Date: Fri, 25 Feb 2022 01:29:59 +0000 (-0800) Subject: KVM: VMX: Fix header file dependency of asm/vmx.h X-Git-Tag: v6.6.7~2639^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3367eeab975145e65136c2d091fe6e0c6cb29636;p=platform%2Fkernel%2Flinux-starfive.git KVM: VMX: Fix header file dependency of asm/vmx.h Include a definition of WARN_ON_ONCE() before using it. Fixes: bb1fcc70d98f ("KVM: nVMX: Allow L1 to use 5-level page walks for nested EPT") Cc: Sean Christopherson Signed-off-by: Jacob Xu [reworded commit message; changed to ] Signed-off-by: Jim Mattson Reviewed-by: Sean Christopherson Message-Id: <20220225012959.1554168-1-jmattson@google.com> Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h index 498dc600bd5c..0d02c4aafa6f 100644 --- a/arch/x86/include/asm/vmx.h +++ b/arch/x86/include/asm/vmx.h @@ -13,7 +13,9 @@ #include +#include #include + #include #include