]> git.baikalelectronics.ru Git - kernel.git/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)
commitc393140691baa453eaf89c90c39783dceb91e210
treefcc2933db837414f6aa81a589a2788adc9489fd3
parentd87f73a19aa61be340e1226156fa353d9cc6f750
[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