]> err.no Git - linux-2.6/commit
[POWERPC] spu_manage: Use newer physical-id attribute
authorChristian Krafft <krafft@de.ibm.com>
Wed, 22 Aug 2007 17:01:25 +0000 (03:01 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 25 Aug 2007 06:58:26 +0000 (16:58 +1000)
commitfa7f374bbf6d8e5fc7dd281a62498041066aaf43
treefcc2933db837414f6aa81a589a2788adc9489fd3
parentdfa70f81a05fa857fb1428ac2a88da84ecd50dd9
[POWERPC] spu_manage: Use newer physical-id attribute

Legacy device tree used the reg property for the physical id of an
spe.  On newer device tree layouts the reg property contains the
"correct" value in the reg attribute.  So there has been intoduced the
"physical-id" on newer devicetree layouts.  The id is stored by
spu_manage into the spu struct as spe_id.  cbe_thermal has been
changed to use the spu->spe_id.  There's no need for the thermal code
to check devicetree attributes for itself.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Cc: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/cbe_thermal.c
arch/powerpc/platforms/cell/spu_manage.c