Fix bug introduced in SVN rev 194985. When calling pic_assign_cpu()
for pre-bound IRQs during boot, submit there LAPIC ID, same as in other places, not CPU ID.
This commit is contained in:
parent
ea954fa396
commit
c8e17adfdc
@ -529,7 +529,7 @@ intr_shuffle_irqs(void *arg __unused)
|
||||
*/
|
||||
if (isrc->is_event->ie_cpu != NOCPU)
|
||||
(void)isrc->is_pic->pic_assign_cpu(isrc,
|
||||
isrc->is_event->ie_cpu);
|
||||
cpu_apic_ids[isrc->is_event->ie_cpu]);
|
||||
else if (isrc->is_pic->pic_assign_cpu(isrc,
|
||||
cpu_apic_ids[current_cpu]) == 0)
|
||||
(void)intr_next_cpu();
|
||||
|
@ -502,7 +502,7 @@ intr_shuffle_irqs(void *arg __unused)
|
||||
*/
|
||||
if (isrc->is_event->ie_cpu != NOCPU)
|
||||
(void)isrc->is_pic->pic_assign_cpu(isrc,
|
||||
isrc->is_event->ie_cpu);
|
||||
cpu_apic_ids[isrc->is_event->ie_cpu]);
|
||||
else if (isrc->is_pic->pic_assign_cpu(isrc,
|
||||
cpu_apic_ids[current_cpu]) == 0)
|
||||
(void)intr_next_cpu();
|
||||
|
Loading…
x
Reference in New Issue
Block a user