linux-stable-rt/arch/powerpc/platforms/cell/spufs
Jeremy Kerr ccf17e9d00 [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(-)
2007-04-23 21:19:00 +02:00
..
Makefile
backing_ops.c
context.c
coredump.c [POWERPC] spufs: fix memory leak on coredump 2007-04-23 21:18:58 +02:00
fault.c
file.c [POWERPC] spufs: avoid spurious memory barriers 2007-04-23 21:18:57 +02:00
gang.c
hw_ops.c
inode.c [POWERPC] spu_base: fix initialisation on systems with no SPEs 2007-04-23 21:19:00 +02:00
run.c [POWERPC] spufs: various run.c cleanups 2007-04-23 21:18:59 +02:00
sched.c
spu_restore.c
spu_restore_crt0.S
spu_restore_dump.h_shipped
spu_save.c
spu_save_crt0.S
spu_save_dump.h_shipped
spu_utils.h
spufs.h [POWERPC] spufs: Minor cleanup of spu_wait 2007-04-23 21:18:58 +02:00
switch.c
syscalls.c