diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-04-23 19:08:29 (GMT) |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-04-23 19:19:00 (GMT) |
commit | ccf17e9d008dfebbf90dfa4ee1a56e81c784c73e (patch) | |
tree | 9d33f1e33f49b1ec82af24a3d8ab65750936f97a /fs/jffs2/nodelist.h | |
parent | befdc746ee027d686a06be29cb1391f9d2c45cf6 (diff) | |
download | linux-fsl-qoriq-ccf17e9d008dfebbf90dfa4ee1a56e81c784c73e.tar.xz |
[POWERPC] spu_base: fix initialisation on systems with no SPEs
This change fixes the case where spu_base and spufs are initialised on a
system with no SPEs - unconditionally create the spu_lists so spu_alloc
doesn't explode, and check for spu_management ops before starting spufs.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spu_base.c | 7 ++++---
arch/powerpc/platforms/cell/spufs/inode.c | 5 +++++
2 files changed, 9 insertions(+), 3 deletions(-)
Diffstat (limited to 'fs/jffs2/nodelist.h')
0 files changed, 0 insertions, 0 deletions