forked from Minki/linux
[POWERPC] spufs: we should only execute init_spu_base on cell
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
This commit is contained in:
parent
c2b2226c7e
commit
da06aa08d9
@ -663,6 +663,9 @@ static int __init init_spu_base(void)
|
|||||||
{
|
{
|
||||||
int i, ret;
|
int i, ret;
|
||||||
|
|
||||||
|
if (!spu_management_ops)
|
||||||
|
return 0;
|
||||||
|
|
||||||
/* create sysdev class for spus */
|
/* create sysdev class for spus */
|
||||||
ret = sysdev_class_register(&spu_sysdev_class);
|
ret = sysdev_class_register(&spu_sysdev_class);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
Loading…
Reference in New Issue
Block a user