diff options
author | jhb <jhb@FreeBSD.org> | 2010-10-28 13:44:19 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-10-28 13:44:19 +0000 |
commit | c1f742a56c9fe101befff8999d74d447dfc9d72f (patch) | |
tree | cffe9b2c35ec5801f7cc17cfc80182590db51d1b /sys/kern/init_main.c | |
parent | a63e742296e924cf92a296da71dc431fa75495eb (diff) | |
download | FreeBSD-src-c1f742a56c9fe101befff8999d74d447dfc9d72f.zip FreeBSD-src-c1f742a56c9fe101befff8999d74d447dfc9d72f.tar.gz |
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.
PR: bin/151616
Tested by: "Damian S. Kolodziejczyk" damkol | gmail
Submitted by: avg
MFC after: 1 week
Diffstat (limited to 'sys/kern/init_main.c')
0 files changed, 0 insertions, 0 deletions