[PATCH -next] x86/smpboot: Remove duplicated include in smpboot.c

Yang Li posted 1 patch 2 years, 2 months ago
arch/x86/kernel/smpboot.c | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] x86/smpboot: Remove duplicated include in smpboot.c
Posted by Yang Li 2 years, 2 months ago
./arch/x86/kernel/smpboot.c: asm/spec-ctrl.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6719
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 arch/x86/kernel/smpboot.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index ae5f67cbb101..eb96a603687d 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -87,7 +87,6 @@
 #include <asm/hw_irq.h>
 #include <asm/stackprotector.h>
 #include <asm/sev.h>
-#include <asm/spec-ctrl.h>
 
 /* representing HT siblings of each logical CPU */
 DEFINE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
-- 
2.20.1.7.g153144c