Don't send interrupts to CPUs disabled via lapic hints.

Reported by:	Ludger Bolmerg <lbolmerg ! web.de>
MFC after:	3 days
Pointy hat to:	jhb
This commit is contained in:
John Baldwin 2007-02-08 16:49:59 +00:00
parent 2dca4d3364
commit 71ddf30bd2
2 changed files with 4 additions and 0 deletions

View File

@ -632,6 +632,8 @@ set_interrupt_apic_ids(void)
continue;
if (cpu_info[apic_id].cpu_bsp)
continue;
if (cpu_info[apic_id].cpu_disabled)
continue;
/* Don't let hyperthreads service interrupts. */
if (hyperthreading_cpus > 1 &&

View File

@ -674,6 +674,8 @@ set_interrupt_apic_ids(void)
continue;
if (cpu_info[apic_id].cpu_bsp)
continue;
if (cpu_info[apic_id].cpu_disabled)
continue;
/* Don't let hyperthreads service interrupts. */
if (hyperthreading_cpus > 1 &&