]> git.baikalelectronics.ru Git - kernel.git/commit
[CELL] spufs: extension of spu_create to support affinity definition
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Jul 2007 19:39:47 +0000 (21:39 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Fri, 20 Jul 2007 19:42:15 +0000 (21:42 +0200)
commit3200149699a8d39b69bebbf4170515a29875007f
tree3001a5a8ce652ffdea97b2f89569447830b9059a
parentc67f84fc3f85f403e1121e4ec222881965b1ec0a
[CELL] spufs: extension of spu_create to support affinity definition

This patch adds support for additional flags at spu_create, which relate
to the establishment of affinity between contexts and contexts to memory.
A fourth, optional, parameter is supported. This parameter represent
a affinity neighbor of the context being created, and is used when defining
SPU-SPU affinity.
Affinity is represented as a doubly linked list of spu_contexts.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spu_syscalls.c
arch/powerpc/platforms/cell/spufs/context.c
arch/powerpc/platforms/cell/spufs/gang.c
arch/powerpc/platforms/cell/spufs/inode.c
arch/powerpc/platforms/cell/spufs/spufs.h
arch/powerpc/platforms/cell/spufs/syscalls.c
include/asm-powerpc/spu.h
include/linux/syscalls.h