From: Nathan Lynch Date: Sun, 27 Jul 2008 05:24:54 +0000 (+1000) Subject: powerpc: Make core id information available to userspace X-Git-Tag: v2.6.27-rc1~27^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9efed3b80a83e44b98fc626f3268ae072550b84;p=pandora-kernel.git powerpc: Make core id information available to userspace Existing Open Firmware practice is to report each processor core as a separate node in the device tree. Report the value of the "reg" OF property corresponding to a logical CPU's device node as the core_id attribute in /sys/devices/system/cpu/cpu*/topology/core_id. Signed-off-by: Nathan Lynch Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed