]> Pileus Git - ~andy/linux/commit
staging: octeon-ethernet: allow to set IRQ smp_affinity freely
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 6 Oct 2013 20:35:15 +0000 (23:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Oct 2013 05:03:18 +0000 (22:03 -0700)
commitcd39f7374d343e6af22d7c929ec87c7406ebd00c
tree9b0667ddf465fd7cc7264b4e69dd73fb50fd5ff8
parentaa87afe20710dfa71937f945a93e2bfa26a2f1df
staging: octeon-ethernet: allow to set IRQ smp_affinity freely

Currently the driver assumes that CPU 0 is handling all the hard IRQs.
This is wrong in Linux SMP systems where user is allowed to assign to
hardware IRQs to any CPU. The driver will stop working if user sets
smp_affinity so that interrupts end up being handled by other than CPU
0. The patch fixes that.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rx.c