]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commitf5996449e3244524cab0ba709a4bd87047a8175f
treed25520e4020d148e6595270d93ddbb5f8224d083
parentedd0622bd2e8f755c960827e15aa6908c3c5aa94
[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