genirq: Simplify affinity related code
authorThomas Gleixner <tglx@linutronix.de>
Mon, 7 Feb 2011 15:46:58 +0000 (16:46 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:07 +0000 (12:58 +0100)
commit1fa46f1f070961783661ae640cd2f6b2557f3885
treecef8928b1a89edc251f8b3f9d9a67bfaa10248af
parenta0cd9ca2b907d7ee26575e7b63ac92dad768a75e
genirq: Simplify affinity related code

There is lot of #ifdef CONFIG_GENERIC_PENDING_IRQ along with
duplicated code in the irq core. Move the #ifdeffery into one place
and cleanup the code so it's readable. No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/manage.c