diff options
| author | Kai Huang <kai.huang@intel.com> | 2026-06-04 04:11:06 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-06-04 15:22:29 +0300 |
| commit | b8d3d74d8b5fee73804faec5630c4ef44c3120bd (patch) | |
| tree | 825a8c92a2d78a1a71dee11d802a46d68de4328c | |
| parent | 5fd25aacdf893212f027d3f54ed5dee701dc69e4 (diff) | |
| download | linux-b8d3d74d8b5fee73804faec5630c4ef44c3120bd.tar.xz | |
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>
| -rw-r--r-- | arch/x86/kvm/cpuid.c | 2 |
1 files changed, 1 insertions, 1 deletions
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> |
