diff options
author | Christian Krafft <krafft@de.ibm.com> | 2006-10-24 12:31:25 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-25 00:20:22 -0400 |
commit | b3d7dc1967d1303d4897ff9537d29f6e077de147 (patch) | |
tree | 7717eb9fbcbc60c418233ea9773badc5fbfd8099 /arch/powerpc/configs | |
parent | 0344c6c5387ba335bba5a66fd44714b94c98573f (diff) |
[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 <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/configs')
-rw-r--r-- | arch/powerpc/configs/cell_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/configs/cell_defconfig b/arch/powerpc/configs/cell_defconfig index 892d5dd3254e..910a33193d9d 100644 --- a/arch/powerpc/configs/cell_defconfig +++ b/arch/powerpc/configs/cell_defconfig | |||
@@ -149,6 +149,7 @@ CONFIG_MMIO_NVRAM=y | |||
149 | CONFIG_SPU_FS=m | 149 | CONFIG_SPU_FS=m |
150 | CONFIG_SPU_BASE=y | 150 | CONFIG_SPU_BASE=y |
151 | CONFIG_CBE_RAS=y | 151 | CONFIG_CBE_RAS=y |
152 | CONFIG_CBE_THERM=m | ||
152 | 153 | ||
153 | # | 154 | # |
154 | # Kernel options | 155 | # Kernel options |