diff options
Diffstat (limited to 'arch/powerpc/sysdev/mpic.h')
-rw-r--r-- | arch/powerpc/sysdev/mpic.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/powerpc/sysdev/mpic.h b/arch/powerpc/sysdev/mpic.h index 1cb6bd841027..fbf8a266941c 100644 --- a/arch/powerpc/sysdev/mpic.h +++ b/arch/powerpc/sysdev/mpic.h | |||
@@ -17,6 +17,7 @@ extern int mpic_msi_init_allocator(struct mpic *mpic); | |||
17 | extern irq_hw_number_t mpic_msi_alloc_hwirqs(struct mpic *mpic, int num); | 17 | extern irq_hw_number_t mpic_msi_alloc_hwirqs(struct mpic *mpic, int num); |
18 | extern void mpic_msi_free_hwirqs(struct mpic *mpic, int offset, int num); | 18 | extern void mpic_msi_free_hwirqs(struct mpic *mpic, int offset, int num); |
19 | extern int mpic_u3msi_init(struct mpic *mpic); | 19 | extern int mpic_u3msi_init(struct mpic *mpic); |
20 | extern int mpic_pasemi_msi_init(struct mpic *mpic); | ||
20 | #else | 21 | #else |
21 | static inline void mpic_msi_reserve_hwirq(struct mpic *mpic, | 22 | static inline void mpic_msi_reserve_hwirq(struct mpic *mpic, |
22 | irq_hw_number_t hwirq) | 23 | irq_hw_number_t hwirq) |
@@ -28,12 +29,15 @@ static inline int mpic_u3msi_init(struct mpic *mpic) | |||
28 | { | 29 | { |
29 | return -1; | 30 | return -1; |
30 | } | 31 | } |
32 | |||
33 | static inline int mpic_pasemi_msi_init(struct mpic *mpic) | ||
34 | { | ||
35 | return -1; | ||
36 | } | ||
31 | #endif | 37 | #endif |
32 | 38 | ||
33 | extern int mpic_set_irq_type(unsigned int virq, unsigned int flow_type); | 39 | extern int mpic_set_irq_type(unsigned int virq, unsigned int flow_type); |
34 | extern void mpic_end_irq(unsigned int irq); | 40 | extern void mpic_set_vector(unsigned int virq, unsigned int vector); |
35 | extern void mpic_mask_irq(unsigned int irq); | ||
36 | extern void mpic_unmask_irq(unsigned int irq); | ||
37 | extern void mpic_set_affinity(unsigned int irq, cpumask_t cpumask); | 41 | extern void mpic_set_affinity(unsigned int irq, cpumask_t cpumask); |
38 | 42 | ||
39 | #endif /* _POWERPC_SYSDEV_MPIC_H */ | 43 | #endif /* _POWERPC_SYSDEV_MPIC_H */ |