ccf17e9d00
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(-) |
||
---|---|---|
.. | ||
backing_ops.c | ||
context.c | ||
coredump.c | ||
fault.c | ||
file.c | ||
gang.c | ||
hw_ops.c | ||
inode.c | ||
Makefile | ||
run.c | ||
sched.c | ||
spu_restore_crt0.S | ||
spu_restore_dump.h_shipped | ||
spu_restore.c | ||
spu_save_crt0.S | ||
spu_save_dump.h_shipped | ||
spu_save.c | ||
spu_utils.h | ||
spufs.h | ||
switch.c | ||
syscalls.c |