OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b2226
)
[POWERPC] spufs: we should only execute init_spu_base on cell
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Mon, 27 Nov 2006 18:18:54 +0000
(19:18 +0100)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 4 Dec 2006 09:41:11 +0000
(20:41 +1100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spu_base.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/cell/spu_base.c
b/arch/powerpc/platforms/cell/spu_base.c
index
841ed35
..
bd7bffc
100644
(file)
--- a/
arch/powerpc/platforms/cell/spu_base.c
+++ b/
arch/powerpc/platforms/cell/spu_base.c
@@
-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)