hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/x86/kernel/smp.c
....@@ -32,7 +32,7 @@
3232 #include <asm/mce.h>
3333 #include <asm/trace/irq_vectors.h>
3434 #include <asm/kexec.h>
35
-#include <asm/virtext.h>
35
+#include <asm/reboot.h>
3636
3737 /*
3838 * Some notes on x86 processor bugs affecting SMP operation:
....@@ -122,7 +122,7 @@
122122 if (raw_smp_processor_id() == atomic_read(&stopping_cpu))
123123 return NMI_HANDLED;
124124
125
- cpu_emergency_vmxoff();
125
+ cpu_emergency_disable_virtualization();
126126 stop_this_cpu(NULL);
127127
128128 return NMI_HANDLED;
....@@ -134,7 +134,7 @@
134134 DEFINE_IDTENTRY_SYSVEC(sysvec_reboot)
135135 {
136136 ack_APIC_irq();
137
- cpu_emergency_vmxoff();
137
+ cpu_emergency_disable_virtualization();
138138 stop_this_cpu(NULL);
139139 }
140140