diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2007-01-26 22:08:12 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-06 22:03:18 -0500 |
commit | b1eeb38e456281c37bbfc270a6ca08605b7e7045 (patch) | |
tree | 9ee62b6b2902f5e6d8fe27cdb842e7b18c371b77 /include/asm-powerpc | |
parent | 861be32ce7f1cf272a3f809e77213b83117a0bd2 (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.h | 3 |
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); | |||
163 | int ps3_alloc_spe_irq(enum ps3_cpu_binding cpu, unsigned long spe_id, | 163 | int 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); |
165 | int ps3_free_spe_irq(unsigned int virq); | 165 | int ps3_free_spe_irq(unsigned int virq); |
166 | int ps3_alloc_irq(enum ps3_cpu_binding cpu, unsigned long outlet, | ||
167 | unsigned int *virq); | ||
168 | int ps3_free_irq(unsigned int virq); | ||
166 | 169 | ||
167 | /* lv1 result codes */ | 170 | /* lv1 result codes */ |
168 | 171 | ||