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)
commit3508920f5811fcb8bdbf02943eb5ed531834bbc4
tree20e03cb5fb1d982990760bccdbccde4736e14d85
parent5aae1fd4d41ea69da845e11d4766ab61666494ed
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