2023-10-07 01:38:16

by Yang Li

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

./arch/x86/kernel/smpboot.c: asm/spec-ctrl.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6719
Signed-off-by: Yang Li <[email protected]>
---
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