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