diff options
author | mav <mav@FreeBSD.org> | 2010-06-14 07:38:53 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-06-14 07:38:53 +0000 |
commit | c8e17adfdc6bbc201764d927422a29210b777e09 (patch) | |
tree | caead36e7e14ee834d61c41e59490e3ef450bc03 /sys/i386 | |
parent | ea954fa396b041bd7926fa93cc6d5dc99f8e181a (diff) | |
download | FreeBSD-src-c8e17adfdc6bbc201764d927422a29210b777e09.zip FreeBSD-src-c8e17adfdc6bbc201764d927422a29210b777e09.tar.gz |
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.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/intr_machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/intr_machdep.c b/sys/i386/i386/intr_machdep.c index 75be205..35179fa 100644 --- a/sys/i386/i386/intr_machdep.c +++ b/sys/i386/i386/intr_machdep.c @@ -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(); |