android_kernel_xiaomi_sm8350/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
..
backing_ops.c [POWERPC] spufs: make spu page faults not block scheduling 2007-04-23 21:18:55 +02:00
context.c [POWERPC] spufs: turn run_sema into run_mutex 2007-04-23 21:18:56 +02:00
coredump.c [POWERPC] spufs: fix memory leak on coredump 2007-04-23 21:18:58 +02:00
fault.c [POWERPC] spufs: provide siginfo for SPE faults 2007-04-23 21:18:55 +02:00
file.c [POWERPC] spufs: avoid spurious memory barriers 2007-04-23 21:18:57 +02:00
gang.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
hw_ops.c [POWERPC] spufs: make spu page faults not block scheduling 2007-04-23 21:18:55 +02:00
inode.c [POWERPC] spu_base: fix initialisation on systems with no SPEs 2007-04-23 21:19:00 +02:00
Makefile [POWERPC] spufs: make spu page faults not block scheduling 2007-04-23 21:18:55 +02:00
run.c [POWERPC] spufs: various run.c cleanups 2007-04-23 21:18:59 +02:00
sched.c [POWERPC] spu sched: make addition to stop_wq and runque atomic vs wakeup 2007-04-23 21:18:55 +02:00
spu_restore_crt0.S
spu_restore_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_restore.c
spu_save_crt0.S
spu_save_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_save.c
spu_utils.h
spufs.h [POWERPC] spufs: Minor cleanup of spu_wait 2007-04-23 21:18:58 +02:00
switch.c [POWERPC] spufs: make spu page faults not block scheduling 2007-04-23 21:18:55 +02:00
syscalls.c [PATCH] struct path: convert powerpc 2006-12-08 08:28:48 -08:00