mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
93fc07b434
commit
2f9fc3899b
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue