Message ID | 20091021022626.32449.73883.stgit@localhost.localdomain |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
On Tue, 2009-10-20 at 19:26 -0700, Jeff Kirsher wrote: > From: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> > > This patch allows drivers to specify an IRQ affinity mask for > their respective interrupt sources. This is very useful on > network adapters using MSI-X, where aligning network flows > linearly to CPUs greatly improves efficiency of the network > stack. [...] Since this is not networking-specific, I think it needs to go to linux-kernel as well. Ben.
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index bde4c66..185eb26 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -137,6 +137,7 @@ int irq_set_affinity(unsigned int irq, const struct cpumask *cpumask) spin_unlock_irqrestore(&desc->lock, flags); return 0; } +EXPORT_SYMBOL(irq_set_affinity); #ifndef CONFIG_AUTO_IRQ_AFFINITY /*