From: Jean-Christophe DUBOIS Some legacy SLOF device trees have a "be" node but no "cpus" properties under it. So le'ts fix the crash until the device tree is fixed. Signed-off-by: Jean-Christophe DUBOIS Acked-by: Christian Kraff Signed-off-by: Arnd Bergmann Index: linux-2.6/arch/powerpc/platforms/cell/cbe_regs.c =================================================================== --- linux-2.6.orig/arch/powerpc/platforms/cell/cbe_regs.c +++ linux-2.6/arch/powerpc/platforms/cell/cbe_regs.c @@ -174,6 +174,11 @@ static struct device_node *cbe_get_be_no cpu_handle = of_get_property(np, "cpus", &len); + if (!cpu_handle) { + WARN_ON_ONCE(!cpu_handle); + continue; + } + for (i=0; i