diff options
author | njl <njl@FreeBSD.org> | 2005-02-15 07:21:20 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-02-15 07:21:20 +0000 |
commit | 9f5b889b7b37c36d49786ca6e494aa05ad996edb (patch) | |
tree | 089d4523a049b14a9cabfdf4bb44a1b3f9f83907 /sys/kern/kern_cpu.c | |
parent | 9a64d9e8994f83844324dad52bbf524cd9832cdb (diff) | |
download | FreeBSD-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