6bdb8af563
On some platforms, the /cpus node contains cpu-to-cluster map which deffinitely is not a CPU node. Its presence was causing incrementing of "id" variable and reporting more CPUs available than it should. To make "id" valid, increment it only when an entry really is a CPU device. Reviewed by: andrew Obtained from: Semihalf Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3216 |
||
---|---|---|
.. | ||
ofw_bus_if.m | ||
ofw_bus_subr.c | ||
ofw_bus_subr.h | ||
ofw_bus.h | ||
ofw_console.c | ||
ofw_cpu.c | ||
ofw_cpu.h | ||
ofw_disk.c | ||
ofw_fdt.c | ||
ofw_if.m | ||
ofw_iicbus.c | ||
ofw_pci.h | ||
ofw_standard.c | ||
ofwbus.c | ||
ofwvar.h | ||
openfirm.c | ||
openfirm.h | ||
openfirmio.c | ||
openfirmio.h | ||
openpromio.c | ||
openpromio.h |