From: Vasant Hegde Date: Mon, 12 Aug 2013 12:05:57 +0000 (+0530) Subject: powerpc: Make chip-id information available to userspace X-Git-Tag: v3.12-rc1~123^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15863ff3b8dae4cacd831ce10aa34992e9ababb0;p=pandora-kernel.git powerpc: Make chip-id information available to userspace So far "/sys/devices/system/cpu/cpuX/topology/physical_package_id" was always default (-1) on ppc64 architecture. Now, some systems have an ibm,chip-id property in the cpu nodes in the device tree. On these systems, we now use this information to display physical_package_id. Signed-off-by: Vasant Hegde Signed-off-by: Shivaprasad G Bhat Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed