diff options
author | Nathan Lynch <ntl@pobox.com> | 2008-07-27 01:24:53 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-28 02:30:51 -0400 |
commit | 440a0857e32a05979fb01fc59ea454a723e80e4b (patch) | |
tree | 9776655cd83b18cdd9cc8f08b836a6811f77ced0 /arch/powerpc/kernel/systbl.S | |
parent | 0764bf63da5466474eebf7d21994cf6b106265a3 (diff) |
powerpc: Make core sibling information available to userspace
Implement the notion of "core siblings" for powerpc. This makes
/sys/devices/system/cpu/cpu*/topology/core_siblings present sensible
values, indicating online CPUs which share an L2 cache.
BenH: Made cpu_to_l2cache() use of_find_node_by_phandle() instead
of IBM-specific open coded search
Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/systbl.S')
0 files changed, 0 insertions, 0 deletions