firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-arch_x86_kernel_smpbo...

30 lines
871 B
Diff

diff -drupN a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
--- a/arch/x86/kernel/smpboot.c 2018-08-06 17:23:04.000000000 +0300
+++ b/arch/x86/kernel/smpboot.c 2022-06-12 05:28:14.000000000 +0300
@@ -75,7 +75,6 @@
#include <asm/i8259.h>
#include <asm/realmode.h>
#include <asm/misc.h>
-#include <asm/spec-ctrl.h>
/* Number of siblings per CPU package */
int smp_num_siblings = 1;
@@ -230,8 +229,6 @@ static void notrace start_secondary(void
*/
check_tsc_sync_target();
- speculative_store_bypass_ht_init();
-
/*
* Lock vector_lock and initialize the vectors on this cpu
* before setting the cpu online. We must set it online with
@@ -1328,8 +1325,6 @@ void __init native_smp_prepare_cpus(unsi
set_mtrr_aps_delayed_init();
smp_quirk_init_udelay();
-
- speculative_store_bypass_ht_init();
}
void arch_enable_nonboot_cpus_begin(void)