metag: Use irq_set_affinity instead of homebrewn code
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Feb 2014 21:40:11 +0000 (21:40 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Mon, 17 Mar 2014 12:34:59 +0000 (12:34 +0000)
commit48ce8e3f7080869763cfb3ab4ac57bb0ba4da698
tree54a19c522339436338765d29c60347e4cf54b4fc
parentdcb99fd9b08cfe1afe426af4d8d3cbc429190f15
metag: 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: James Hogan <james.hogan@imgtec.com>
Cc: metag <linux-metag@vger.kernel.org>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/metag/kernel/irq.c