From: Kai Huang Date: Thu, 4 Jun 2026 01:11:06 +0000 (+1200) Subject: KVM: x86: Use for lockdep header inclusion X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8d3d74d8b5fee73804faec5630c4ef44c3120bd;p=thirdparty%2Fkernel%2Flinux.git KVM: x86: Use for lockdep header inclusion When KVM added a lockdep assertion to catch unexpected cases where guest CPUID lookups are performed in IRQ disabled context, it used "linux/lockdep.h" for header inclusion even though lockdep.h is a kernel wide header. Switch to using . Fixes: 9717efbe5ba3 ("KVM: x86: Disallow guest CPUID lookups when IRQs are disabled") Signed-off-by: Kai Huang Link: https://patch.msgid.link/20260604011106.315176-1-kai.huang@intel.com [sean: add Fixes, Kai is too polite :-)] Signed-off-by: Sean Christopherson --- 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 -#include "linux/lockdep.h" +#include #include #include #include