]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Octeon: Fix fixup_irqs for HOTPLUG_CPU
authorDavid Daney <ddaney@caviumnetworks.com>
Fri, 23 Jul 2010 17:43:47 +0000 (10:43 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:10 +0000 (13:26 +0100)
commita571183da4f477c9d77587dfc1f02be8c59d513d
tree20e03cb5fb1d982990760bccdbccde4736e14d85
parent571335606a04dc3bb4b6fa4304bef6b8fd6b798c
MIPS: Octeon: Fix fixup_irqs for HOTPLUG_CPU

The original version went behind the back of everything, leaving
things in an inconsistent state.

Now we use the irq_set_affinity() to do the work for us.  This has the
advantage that the IRQ core's view of the affinity stays consistent.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1486/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/octeon-irq.c