[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ae64e0c7c49b4189c6a7ee1f1fa2a863@208suo.com>
Date: Wed, 12 Jul 2023 11:27:49 +0800
From: shijie001@...suo.com
To: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com
Cc: hpa@...or.com, kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] KVM: x86:Fix warning in cpuid.h
The following checkpatch warning is removed:
WARNING: Use #include <linux/processor.h> instead of <asm/processor.h>
Signed-off-by: Jie Shi <shijie001@...suo.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;
Powered by blists - more mailing lists