aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJeremy Kerr <[email protected]>2007-04-23 21:08:29 +0200
committerArnd Bergmann <[email protected]>2007-04-23 21:19:00 +0200
commitccf17e9d008dfebbf90dfa4ee1a56e81c784c73e (patch)
tree9d33f1e33f49b1ec82af24a3d8ab65750936f97a /tools/perf/scripts/python
parentbefdc746ee027d686a06be29cb1391f9d2c45cf6 (diff)
[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 <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions