]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: x86: Use <linux/lockdep.h> for lockdep header inclusion
authorKai Huang <kai.huang@intel.com>
Thu, 4 Jun 2026 01:11:06 +0000 (13:11 +1200)
committerSean Christopherson <seanjc@google.com>
Thu, 4 Jun 2026 12:22:29 +0000 (05:22 -0700)
commitb8d3d74d8b5fee73804faec5630c4ef44c3120bd
tree825a8c92a2d78a1a71dee11d802a46d68de4328c
parent5fd25aacdf893212f027d3f54ed5dee701dc69e4
KVM: x86: Use <linux/lockdep.h> 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 <linux/lockdep.h>.

Fixes: 9717efbe5ba3 ("KVM: x86: Disallow guest CPUID lookups when IRQs are disabled")
Signed-off-by: Kai Huang <kai.huang@intel.com>
Link: https://patch.msgid.link/20260604011106.315176-1-kai.huang@intel.com
[sean: add Fixes, Kai is too polite :-)]
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/cpuid.c