dect
/
linux-2.6
Archived
13
0
Fork 0

[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:
Stephen Rothwell 2006-11-27 19:18:54 +01:00 committed by Paul Mackerras
parent c2b2226c7e
commit da06aa08d9
1 changed files with 3 additions and 0 deletions

View File

@ -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)