[POWERPC] Don't crash on cell with 2 BEs when !CONFIG_NUMA
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Oct 2006 05:14:12 +0000 (15:14 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 16 Oct 2006 05:52:14 +0000 (15:52 +1000)
commite5267b4b376cfbdc4518abcc68d5a7fffb505638
tree7f11392c3dae58cdc21f2afb807c95f8f72ad563
parent51018b0a3160d253283173c2f54f16746cee5852
[POWERPC] Don't crash on cell with 2 BEs when !CONFIG_NUMA

The SPU code will crash if CONFIG_NUMA is not set and SPUs are found on
a non-0 node. This workaround will ignore those SPEs and just print an
message in the kernel log.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_base.c