summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/mpic.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-09-18 06:12:29 +1000
committerPaul Mackerras <paulus@samba.org>2007-09-22 14:49:22 +1000
commit17b5ee04c09a158129eb538933eae7be956190e9 (patch)
treee345f5ab3945e90b4cd8a816ffbde810188959a3 /arch/powerpc/sysdev/mpic.h
parent3164cccdc0e6e16eb9797586aaa8d1f759799c01 (diff)
[POWERPC] Support setting affinity for U3/U4 MSI sources
Hook up affinity-setting for U3/U4 MSI interrupt sources. Tested on Quad G5 with myri10ge. Signed-off-by: Olof Johansson <olof@lixom.net> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/mpic.h')
-rw-r--r--arch/powerpc/sysdev/mpic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/mpic.h b/arch/powerpc/sysdev/mpic.h
index 3a1c3d2c594d..1cb6bd841027 100644
--- a/arch/powerpc/sysdev/mpic.h
+++ b/arch/powerpc/sysdev/mpic.h
@@ -34,5 +34,6 @@ extern int mpic_set_irq_type(unsigned int virq, unsigned int flow_type);
extern void mpic_end_irq(unsigned int irq);
extern void mpic_mask_irq(unsigned int irq);
extern void mpic_unmask_irq(unsigned int irq);
+extern void mpic_set_affinity(unsigned int irq, cpumask_t cpumask);
#endif /* _POWERPC_SYSDEV_MPIC_H */