Fix an inverted test in ucode_load_ap().
This caused microcode to be updated only on the BSP if hyperthreading was disabled, typically resulting in a hang or reset. Approved by: re (kib) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
580e30a33e
commit
7c179abac7
@ -269,7 +269,7 @@ ucode_load_ap(int cpu)
|
||||
KASSERT(cpu_info[cpu_apic_ids[cpu]].cpu_present,
|
||||
("cpu %d not present", cpu));
|
||||
|
||||
if (!cpu_info[cpu_apic_ids[cpu]].cpu_hyperthread)
|
||||
if (cpu_info[cpu_apic_ids[cpu]].cpu_hyperthread)
|
||||
return;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user