* [PATCH] KVM: x86: Use <linux/lockdep.h> for lockdep header inclusion
@ 2026-06-04 1:11 Kai Huang
2026-06-09 16:31 ` Sean Christopherson
0 siblings, 1 reply; 2+ messages in thread
From: Kai Huang @ 2026-06-04 1:11 UTC (permalink / raw)
To: seanjc, pbonzini; +Cc: kvm, linux-kernel, Kai Huang
Commit 9717efbe5ba3 ("KVM: x86: Disallow guest CPUID lookups when IRQs
are disabled") added a lockdep assertion to catch unexpected cases where
guest CPUID lookup is performed in IRQ disabled context. However that
commit used the "linux/lockdep.h" for header inclusion. This header is
kernel wide but not KVM local. Switch to using <linux/lockdep.h>.
No 'Fixes' tag since there's no real bug here.
Signed-off-by: Kai Huang <kai.huang@intel.com>
---
arch/x86/kvm/cpuid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c
index fd3b02575cd0..591d2294acd7 100644
--- a/arch/x86/kvm/cpuid.c
+++ b/arch/x86/kvm/cpuid.c
@@ -11,7 +11,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kvm_host.h>
-#include "linux/lockdep.h"
+#include <linux/lockdep.h>
#include <linux/export.h>
#include <linux/vmalloc.h>
#include <linux/uaccess.h>
base-commit: d4bfaa66fa171089b9b9fb2dc17af9245f2b9b34
--
2.54.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-09 16:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04 1:11 [PATCH] KVM: x86: Use <linux/lockdep.h> for lockdep header inclusion Kai Huang
2026-06-09 16:31 ` Sean Christopherson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®