From: Jeremy Kerr Date: Mon, 23 Apr 2007 19:08:29 +0000 (+0200) Subject: [POWERPC] spu_base: fix initialisation on systems with no SPEs X-Git-Tag: v2.6.22-rc1~1109^2~72^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccf17e9d008dfebbf90dfa4ee1a56e81c784c73e;p=pandora-kernel.git [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 Signed-off-by: Arnd Bergmann arch/powerpc/platforms/cell/spu_base.c | 7 ++++--- arch/powerpc/platforms/cell/spufs/inode.c | 5 +++++ 2 files changed, 9 insertions(+), 3 deletions(-) --- Reading git-diff-tree failed