summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/mpic.h
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2011-03-08 23:26:43 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-03-10 01:03:56 +0100
commit835c0553eb151588b6a1b52b28ecbbd59f7ff052 (patch)
treed6211d2cc4c2268720576cb0caccdba083c955d5 /arch/powerpc/sysdev/mpic.h
parentpowerpc/pseries: Add support for dynamic dma windows (diff)
downloadlinux-835c0553eb151588b6a1b52b28ecbbd59f7ff052.tar.xz
linux-835c0553eb151588b6a1b52b28ecbbd59f7ff052.zip
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 */