Skip to contentSkip to conversation

KVM: x86:Fix warning in cpuid.h

PATCH New [email protected] 1 participant 1 message Jul 12, 2023 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 KVM: x86:Fix warning in cpuid.h

The following checkpatch warning is removed:
WARNING: Use #include <linux/processor.h> instead of <asm/processor.h>

---
 arch/x86/kvm/cpuid.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/cpuid.h +1 -1
index b1658c0de847..65188baf00be 100644
@@ -5,7 +5,7 @@
 #include "x86.h"
 #include "reverse_cpuid.h"
 #include <asm/cpu.h>
-#include <asm/processor.h>
+#include <linux/processor.h>
 #include <uapi/asm/kvm_para.h>
 
 extern u32 kvm_cpu_caps[NR_KVM_CPU_CAPS] __read_mostly;