]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/platforms/ps3/spu.c
Cell: Draw SPE helper penguin logos
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / ps3 / spu.c
index c7f734c894625b272205c7829cdc980ede866b88..502d80ed982bf657b6e08cc2ba511ef3baade432 100644 (file)
@@ -405,11 +405,13 @@ static int __init ps3_enumerate_spus(int (*fn)(void *data))
                }
        }
 
-       if (result)
+       if (result) {
                printk(KERN_WARNING "%s:%d: Error initializing spus\n",
                        __func__, __LINE__);
+               return result;
+       }
 
-       return result;
+       return num_resource_id;
 }
 
 const struct spu_management_ops spu_management_ps3_ops = {