]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] cell: Move SPU affinity init to spu_management_of_ops
authorAndre Detsch <adetsch@br.ibm.com>
Sat, 4 Aug 2007 01:53:46 +0000 (18:53 -0700)
committerPaul Mackerras <paulus@samba.org>
Fri, 10 Aug 2007 11:04:21 +0000 (21:04 +1000)
commit7ab4773b013be710c2c780dac0c31c1aa9b04e96
treed25520e4020d148e6595270d93ddbb5f8224d083
parentdc50ccbebac995e8dcce9292c794cab737e61500
[POWERPC] cell: Move SPU affinity init to spu_management_of_ops

This patch moves affinity initialization code from spu_base.c to a
new spu_management_of_ops function (init_affinity), which is empty
in the case of PS3. This fixes a linking problem that was happening
when compiling for PS3.
Also, some small code style changes were made.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/cell/spu_manage.c
arch/powerpc/platforms/ps3/spu.c
include/asm-powerpc/spu_priv1.h