All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: VMX: Fix header file dependency of asm/vmx.h
@ 2022-02-25  1:29 Jim Mattson
  2022-02-25  1:32 ` Sean Christopherson
  2023-05-19 17:42 ` Paolo Bonzini
  0 siblings, 2 replies; 7+ messages in thread
From: Jim Mattson @ 2022-02-25  1:29 UTC (permalink / raw)
  To: kvm, pbonzini; +Cc: Jacob Xu, Sean Christopherson, Jim Mattson

From: Jacob Xu <jacobhxu@google.com>

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 <seanjc@google.com>
Signed-off-by: Jacob Xu <jacobhxu@google.com>
[reworded commit message; changed <asm/bug.h> to <linux/bug.h>]
Signed-off-by: Jim Mattson <jmattson@google.com>
---
 arch/x86/include/asm/vmx.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h
index 0ffaa3156a4e..447b97296400 100644
--- a/arch/x86/include/asm/vmx.h
+++ b/arch/x86/include/asm/vmx.h
@@ -14,6 +14,7 @@
 
 #include <linux/bitops.h>
 #include <linux/types.h>
+#include <linux/bug.h>
 #include <uapi/asm/vmx.h>
 #include <asm/vmxfeatures.h>
 
-- 
2.35.1.574.g5d30c73bfb-goog


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-19 17:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-25  1:29 [PATCH] KVM: VMX: Fix header file dependency of asm/vmx.h Jim Mattson
2022-02-25  1:32 ` Sean Christopherson
2022-02-25  1:34   ` Jim Mattson
2022-04-08 21:07     ` Jim Mattson
2023-05-16 21:40   ` Jim Mattson
2023-05-16 23:11     ` Sean Christopherson
2023-05-19 17:42 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.