[PATCH] KVM: x86:Fix warning in cpuid.h

shijie001@208suo.com posted 1 patch 2 years, 7 months ago
arch/x86/kvm/cpuid.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] KVM: x86:Fix warning in cpuid.h
Posted by shijie001@208suo.com 2 years, 7 months ago
The following checkpatch warning is removed:
WARNING: Use #include <linux/processor.h> instead of <asm/processor.h>

Signed-off-by: Jie Shi <shijie001@208suo.com>
---
  arch/x86/kvm/cpuid.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/cpuid.h b/arch/x86/kvm/cpuid.h
index b1658c0de847..65188baf00be 100644
--- a/arch/x86/kvm/cpuid.h
+++ b/arch/x86/kvm/cpuid.h
@@ -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;