2023-07-12 08:29:08

by shijie001

[permalink] [raw]
Subject: [PATCH] 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>

Signed-off-by: Jie Shi <[email protected]>
---
arch/x86/kvm/reverse_cpuid.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/reverse_cpuid.h b/arch/x86/kvm/reverse_cpuid.h
index 56cbdb24400a..07a0fff2b27e 100644
--- a/arch/x86/kvm/reverse_cpuid.h
+++ b/arch/x86/kvm/reverse_cpuid.h
@@ -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>

/*