xtensa: Use irq_set_affinity instead of homebrewn code
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Feb 2014 21:40:10 +0000 (21:40 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 4 Mar 2014 16:37:55 +0000 (17:37 +0100)
commitb58d971da3433654787a88c40c6fca00f5bbaa04
tree4c4cb014db37762b43674c2814593860e27d088c
parent5c331c8626f5d39722d07101c699c8e794f5629d
xtensa: Use irq_set_affinity instead of homebrewn code

There is no point in having an incomplete copy of irq_set_affinity()
for the hotplug irq migration code.

Use the core function instead and while at it switch to
for_each_active_irq()

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: xtensa <linux-xtensa@linux-xtensa.org>
Link: http://lkml.kernel.org/r/20140223212736.664624945@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/xtensa/kernel/irq.c