Skip to contentSkip to conversation

KVM: x86: Fix warnings in reverse_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 warnings in reverse_cpuid.h

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

---
 arch/x86/kvm/reverse_cpuid.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/reverse_cpuid.h +1 -1
index 56cbdb24400a..07a0fff2b27e 100644
@@ -3,7 +3,7 @@
 #define ARCH_X86_KVM_REVERSE_CPUID_H
 
 #include <uapi/asm/kvm.h>
-#include <asm/cpufeature.h>
+#include <linux/cpufeature.h>
 #include <asm/cpufeatures.h>
 
 /*