From: Christian Krafft Date: Tue, 24 Oct 2006 16:31:25 +0000 (+0200) Subject: [POWERPC] cell: add temperature to SPU and CPU sysfs entries X-Git-Tag: v2.6.20-rc2~6^2~13^2~13^2~169 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3d7dc1967d1303d4897ff9537d29f6e077de147;p=pandora-kernel.git [POWERPC] cell: add temperature to SPU and CPU sysfs entries This patch adds a module that registers sysfs attributes to CPU and SPU containing the temperature of the CBE. They can be found under /sys/devices/system/spu/cpuX/thermal/temperature[0|1] /sys/devices/system/spu/spuX/thermal/temperature The temperature is read from the on-chip temperature sensors. Signed-off-by: Christian Krafft Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed