]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 214448:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 4 Nov 2010 17:19:16 +0000 (17:19 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 4 Nov 2010 17:19:16 +0000 (17:19 +0000)
commit7fa2470562a6cbe793b76d2c927d9dfb6c86ecb7
tree756070918165db33d5b8703c2ee61368ddcd4758
parent506601ca86d41576b0b00379b3b8e158727b7755
MFC 214448:
Use 'PCPU_GET(apic_id)' to determine the BSP's APIC ID on a UP machine
when routing interrupts instead of cpu_apic_ids[0] since cpu_apic_ids[]
is only populated for multiple-CPU machines.  This also matches what the
code does when SMP is not enabled.

git-svn-id: svn://svn.freebsd.org/base/stable/8@214788 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/intr_machdep.c
sys/i386/i386/intr_machdep.c