aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/Makefile
diff options
context:
space:
mode:
authorChristian Krafft <krafft@de.ibm.com>2006-10-24 12:31:25 -0400
committerPaul Mackerras <paulus@samba.org>2006-10-25 00:20:22 -0400
commitb3d7dc1967d1303d4897ff9537d29f6e077de147 (patch)
tree7717eb9fbcbc60c418233ea9773badc5fbfd8099 /arch/powerpc/platforms/cell/Makefile
parent0344c6c5387ba335bba5a66fd44714b94c98573f (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/platforms/cell/Makefile')
-rw-r--r--arch/powerpc/platforms/cell/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/Makefile b/arch/powerpc/platforms/cell/Makefile
index 412649b3529c..90e131451af1 100644
--- a/arch/powerpc/platforms/cell/Makefile
+++ b/arch/powerpc/platforms/cell/Makefile
@@ -3,6 +3,8 @@ obj-$(CONFIG_PPC_CELL_NATIVE) += interrupt.o iommu.o setup.o \
3 pmu.o 3 pmu.o
4obj-$(CONFIG_CBE_RAS) += ras.o 4obj-$(CONFIG_CBE_RAS) += ras.o
5 5
6obj-$(CONFIG_CBE_THERM) += cbe_thermal.o
7
6ifeq ($(CONFIG_SMP),y) 8ifeq ($(CONFIG_SMP),y)
7obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o 9obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o
8endif 10endif