x86/setup: Remove duplicate header includes
PATCH v2 1/1 x86/setup: Remove duplicate header includes
efi.h and spec-ctrl.h are included twice.
Remove the duplicate entries.
Reviewed-by Sohil Mehta <[email protected]>
Signed-off-by Wang Jinchao <[email protected]>
---
V2:
Adopt Sohil's suggestion to modify the comments.
V1: https://lore.kernel.org/lkml/[email protected]/
arch/x86/kernel/setup.c | 1 - arch/x86/kernel/smpboot.c | 1 - 2 files changed, 2 deletions(-)
arch/x86/kernel/setup.c +0 -1
@@ -37,7 +37,6 @@#include <asm/bugs.h> #include <asm/cacheinfo.h> #include <asm/cpu.h> -#include <asm/efi.h> #include <asm/gart.h> #include <asm/hypervisor.h> #include <asm/io_apic.h>
arch/x86/kernel/smpboot.c +0 -1
@@ -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);
Signature · 1 line
2.40.0