]> git.openfabrics.org - ~emulex/infiniband.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)
commitccb4911598172a131b6a2d99d7eecfcee1ecc8f7
treed8c0a7560a83a04c7341b3f7ef0439013fe8ca1e
parent6e22ba63f01b9bdcd1f29251a95047d310526207
[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