]> err.no Git - linux-2.6/commit
[POWERPC] spufs: fix spu irq affinity setting
authorGeoff Levand <geoffrey.levand@am.sony.com>
Mon, 19 Jun 2006 18:33:30 +0000 (20:33 +0200)
committerPaul Mackerras <paulus@samba.org>
Wed, 21 Jun 2006 05:01:31 +0000 (15:01 +1000)
commita91942ae7ebd518006dcbeb2a1d7b147253c080e
tree74a923f4847495b509089d92010c42c0cb123f4a
parent540270d82db943855538cea5d0c790e7e669dda0
[POWERPC] spufs: fix spu irq affinity setting

This changes the hypervisor abstraction of setting cpu affinity to a
higher level to avoid platform dependent interrupt controller
routines.  I replaced spu_priv1_ops:spu_int_route_set() with a
new routine spu_priv1_ops:spu_cpu_affinity_set().

As a by-product, this change eliminated what looked like an
existing bug in the set affinity code where spu_int_route_set()
mistakenly called int_stat_get().

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/cell/spu_priv1_mmio.c
arch/powerpc/platforms/cell/spufs/sched.c
include/asm-powerpc/spu_priv1.h