[POWERPC] cell: Add routines for managing PMU interrupts
commit0443bbd3d8496f9c2bc3e8c9d1833c6638722743
authorKevin Corry <kevcorry@us.ibm.com>
Mon, 20 Nov 2006 17:45:15 +0000 (20 18:45 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:40:12 +0000 (4 20:40 +1100)
tree7166aeb19de3d4cc538c7153843e009a5a33f32b
parente4f6948cfc8b9626022db0f93e7cf2ce5c0998cd
[POWERPC] cell: Add routines for managing PMU interrupts

The following routines are added to arch/powerpc/platforms/cell/pmu.c:
 cbe_clear_pm_interrupts()
 cbe_enable_pm_interrupts()
 cbe_disable_pm_interrupts()
 cbe_query_pm_interrupts()
 cbe_pm_irq()
 cbe_init_pm_irq()

This also adds a routine in arch/powerpc/platforms/cell/interrupt.c and
some macros in cbe_regs.h to manipulate the IIC_IR register:
 iic_set_interrupt_routing()

Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Signed-off-by: Carl Love <carll@us.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/cbe_regs.h
arch/powerpc/platforms/cell/interrupt.c
arch/powerpc/platforms/cell/interrupt.h
arch/powerpc/platforms/cell/pmu.c
include/asm-powerpc/cell-pmu.h