From: Nathan Lynch Date: Sun, 27 Jul 2008 05:24:53 +0000 (+1000) Subject: powerpc: Make core sibling information available to userspace X-Git-Tag: v2.6.27-rc1~27^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=440a0857e32a05979fb01fc59ea454a723e80e4b;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed