summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_cpu.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-02-15 07:21:20 +0000
committernjl <njl@FreeBSD.org>2005-02-15 07:21:20 +0000
commit9f5b889b7b37c36d49786ca6e494aa05ad996edb (patch)
tree089d4523a049b14a9cabfdf4bb44a1b3f9f83907 /sys/kern/kern_cpu.c
parent9a64d9e8994f83844324dad52bbf524cd9832cdb (diff)
downloadFreeBSD-src-9f5b889b7b37c36d49786ca6e494aa05ad996edb.zip
FreeBSD-src-9f5b889b7b37c36d49786ca6e494aa05ad996edb.tar.gz
Correct a few bugs in the legacy cpu attachment. Get the unit from the
parent cpu device before passing it to pcpu_find(). Get the ivars from the child, not parent cpu device. These bugs would cause a panic when dereferencing the pcpu ivar, but weren't present in the acpi attachment which it seems most people are using.
Diffstat (limited to 'sys/kern/kern_cpu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud