[CELL] cell: add hardcoded spu vicinity information for QS20
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Jul 2007 19:39:46 +0000 (21:39 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Fri, 20 Jul 2007 19:42:13 +0000 (21:42 +0200)
commit3ad216cae837d90415c605e1149e6fd88f51c973
tree768b6bd76d1fa2c1c1196f0a80fb351a0042cf88
parent9d92af621f193c1c889ac8b6fd8c987ccd8aae1f
[CELL] cell: add hardcoded spu vicinity information for QS20

This patch allows the use of spu affinity on QS20, whose
original FW does not provide affinity information.
This is done through two hardcoded arrays, and by reading the reg
property from each spu.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spu_base.c