]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: fix assignment of node numbers
authorArnd Bergmann <arnd@arndb.de>
Tue, 19 Dec 2006 14:32:45 +0000 (15:32 +0100)
committerArnd Bergmann <arnd@klappe.arndb.de>
Tue, 19 Dec 2006 14:35:39 +0000 (15:35 +0100)
commit7e2e9ce701ceb684f7a84826bc31fb4a8818a826
treed8c0a7560a83a04c7341b3f7ef0439013fe8ca1e
parent39218634d26672bfc4984f86d8329aa88eb0f0f4
[POWERPC] spufs: fix assignment of node numbers

The difference between 'nid' and 'node' fields in an
spu structure was used incorrectly. The common 'node'
number now reflects the NUMA node, and it is used
in other places in the code as well.

The 'nid' value is meaningful only in one place, namely
the computation of the interrupt numbers based on the
physical location of an spu.  Consequently, we look it
up directly in the place where it is used now.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spu_priv1_mmio.c