aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2007-01-26 22:08:12 -0500
committerPaul Mackerras <paulus@samba.org>2007-02-06 22:03:18 -0500
commitb1eeb38e456281c37bbfc270a6ca08605b7e7045 (patch)
tree9ee62b6b2902f5e6d8fe27cdb842e7b18c371b77 /include/asm-powerpc
parent861be32ce7f1cf272a3f809e77213b83117a0bd2 (diff)
[POWERPC] ps3: add interrupt alloc for outlets
PS3 interrupt core update: - Add ps3_alloc_irq() and ps3_free_irq(), to allocate a virtual interrupt number for an interrupt outlet, which is needed by the PS3 GPU frame buffer device and audio drivers Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/ps3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h
index 021f802161a6..00a4c7d3c6d1 100644
--- a/include/asm-powerpc/ps3.h
+++ b/include/asm-powerpc/ps3.h
@@ -163,6 +163,9 @@ int ps3_free_vuart_irq(unsigned int virq);
163int ps3_alloc_spe_irq(enum ps3_cpu_binding cpu, unsigned long spe_id, 163int ps3_alloc_spe_irq(enum ps3_cpu_binding cpu, unsigned long spe_id,
164 unsigned int class, unsigned int *virq); 164 unsigned int class, unsigned int *virq);
165int ps3_free_spe_irq(unsigned int virq); 165int ps3_free_spe_irq(unsigned int virq);
166int ps3_alloc_irq(enum ps3_cpu_binding cpu, unsigned long outlet,
167 unsigned int *virq);
168int ps3_free_irq(unsigned int virq);
166 169
167/* lv1 result codes */ 170/* lv1 result codes */
168 171