cpu_topo: Add get_cpu_node_by_chipid()
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 5 Jun 2015 13:02:20 +0000 (21:02 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 5 Jun 2015 13:02:20 +0000 (21:02 +0800)
commitd452e98b1411eb784634d0fbdfc13bb8ecbcdcfd
tree5cb64227ca43139e99e7fb20afe293c54e48803f
parent91d54c3f56dbfbf21f07f3eb5e0218525207e1c9
cpu_topo: Add get_cpu_node_by_chipid()

This function retrieve cpu_node according to the chip ID passed.
sys/kern/subr_cpu_topology.c
sys/sys/cpu_topology.h