summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/mpic.h
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2011-03-09 01:26:43 +0300
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-03-10 03:03:56 +0300
commit835c0553eb151588b6a1b52b28ecbbd59f7ff052 (patch)
treed6211d2cc4c2268720576cb0caccdba083c955d5 /arch/powerpc/sysdev/mpic.h
parent4e8b0cf46b2570331a4c4157d53906883c442a22 (diff)
downloadlinux-835c0553eb151588b6a1b52b28ecbbd59f7ff052.tar.xz
powerpc: mpic irq_data conversion.
Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/mpic.h')
-rw-r--r--arch/powerpc/sysdev/mpic.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/mpic.h b/arch/powerpc/sysdev/mpic.h
index e4a6df77b8d7..13f3e8913a93 100644
--- a/arch/powerpc/sysdev/mpic.h
+++ b/arch/powerpc/sysdev/mpic.h
@@ -34,9 +34,10 @@ static inline int mpic_pasemi_msi_init(struct mpic *mpic)
}
#endif
-extern int mpic_set_irq_type(unsigned int virq, unsigned int flow_type);
+extern int mpic_set_irq_type(struct irq_data *d, unsigned int flow_type);
extern void mpic_set_vector(unsigned int virq, unsigned int vector);
-extern int mpic_set_affinity(unsigned int irq, const struct cpumask *cpumask);
+extern int mpic_set_affinity(struct irq_data *d,
+ const struct cpumask *cpumask, bool force);
extern void mpic_reset_core(int cpu);
#endif /* _POWERPC_SYSDEV_MPIC_H */