irqdomain: Always update revmap when setting up a virq
authorGrant Likely <grant.likely@secretlab.ca>
Mon, 4 Jun 2012 05:04:36 +0000 (22:04 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 11 Jul 2012 15:15:34 +0000 (16:15 +0100)
commit2a71a1a9da40dfbd5b23d4312aa1641385581f4a
tree9a246c0aa997d98acb9a931e10331468a3661ac0
parent913af2070731bfc1bd39bb35c5cd2fd66f5eff12
irqdomain: Always update revmap when setting up a virq

At irq_setup_virq() time all of the data needed to update the reverse
map is available, but the current code ignores it and relies upon the
slow path to insert revmap records.  This patch adds revmap updating
to the setup path so the slow path will no longer be necessary.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Rob Herring <rob.herring@calxeda.com>
arch/powerpc/sysdev/xics/xics-common.c
kernel/irq/irqdomain.c