提交 da06aa08 编写于 作者: S Stephen Rothwell 提交者: Paul Mackerras

[POWERPC] spufs: we should only execute init_spu_base on cell

Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
上级 c2b2226c
......@@ -663,6 +663,9 @@ static int __init init_spu_base(void)
{
int i, ret;
if (!spu_management_ops)
return 0;
/* create sysdev class for spus */
ret = sysdev_class_register(&spu_sysdev_class);
if (ret)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册