diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/ps3.h | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h index 8fed3a041dee..021f802161a6 100644 --- a/include/asm-powerpc/ps3.h +++ b/include/asm-powerpc/ps3.h | |||
@@ -140,19 +140,28 @@ unsigned long ps3_mm_phys_to_lpar(unsigned long phys_addr); | |||
140 | 140 | ||
141 | /* inrerrupt routines */ | 141 | /* inrerrupt routines */ |
142 | 142 | ||
143 | int ps3_alloc_io_irq(unsigned int interrupt_id, unsigned int *virq); | 143 | enum ps3_cpu_binding { |
144 | PS3_BINDING_CPU_ANY = -1, | ||
145 | PS3_BINDING_CPU_0 = 0, | ||
146 | PS3_BINDING_CPU_1 = 1, | ||
147 | }; | ||
148 | |||
149 | int ps3_alloc_io_irq(enum ps3_cpu_binding cpu, unsigned int interrupt_id, | ||
150 | unsigned int *virq); | ||
144 | int ps3_free_io_irq(unsigned int virq); | 151 | int ps3_free_io_irq(unsigned int virq); |
145 | int ps3_alloc_event_irq(unsigned int *virq); | 152 | int ps3_alloc_event_irq(enum ps3_cpu_binding cpu, unsigned int *virq); |
146 | int ps3_free_event_irq(unsigned int virq); | 153 | int ps3_free_event_irq(unsigned int virq); |
147 | int ps3_send_event_locally(unsigned int virq); | 154 | int ps3_send_event_locally(unsigned int virq); |
148 | int ps3_connect_event_irq(const struct ps3_device_id *did, | 155 | int ps3_connect_event_irq(enum ps3_cpu_binding cpu, |
149 | unsigned int interrupt_id, unsigned int *virq); | 156 | const struct ps3_device_id *did, unsigned int interrupt_id, |
157 | unsigned int *virq); | ||
150 | int ps3_disconnect_event_irq(const struct ps3_device_id *did, | 158 | int ps3_disconnect_event_irq(const struct ps3_device_id *did, |
151 | unsigned int interrupt_id, unsigned int virq); | 159 | unsigned int interrupt_id, unsigned int virq); |
152 | int ps3_alloc_vuart_irq(void* virt_addr_bmp, unsigned int *virq); | 160 | int ps3_alloc_vuart_irq(enum ps3_cpu_binding cpu, void* virt_addr_bmp, |
153 | int ps3_free_vuart_irq(unsigned int virq); | ||
154 | int ps3_alloc_spe_irq(unsigned long spe_id, unsigned int class, | ||
155 | unsigned int *virq); | 161 | unsigned int *virq); |
162 | int ps3_free_vuart_irq(unsigned int virq); | ||
163 | int ps3_alloc_spe_irq(enum ps3_cpu_binding cpu, unsigned long spe_id, | ||
164 | unsigned int class, unsigned int *virq); | ||
156 | int ps3_free_spe_irq(unsigned int virq); | 165 | int ps3_free_spe_irq(unsigned int virq); |
157 | 166 | ||
158 | /* lv1 result codes */ | 167 | /* lv1 result codes */ |