summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/xics
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2012-06-03 22:04:36 -0700
committerGrant Likely <grant.likely@secretlab.ca>2012-07-11 16:15:34 +0100
commit2a71a1a9da40dfbd5b23d4312aa1641385581f4a (patch)
tree9a246c0aa997d98acb9a931e10331468a3661ac0 /arch/powerpc/sysdev/xics
parent913af2070731bfc1bd39bb35c5cd2fd66f5eff12 (diff)
downloadop-kernel-dev-2a71a1a9da40dfbd5b23d4312aa1641385581f4a.zip
op-kernel-dev-2a71a1a9da40dfbd5b23d4312aa1641385581f4a.tar.gz
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>
Diffstat (limited to 'arch/powerpc/sysdev/xics')
-rw-r--r--arch/powerpc/sysdev/xics/xics-common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/sysdev/xics/xics-common.c b/arch/powerpc/sysdev/xics/xics-common.c
index cd1d18d..9049d9f 100644
--- a/arch/powerpc/sysdev/xics/xics-common.c
+++ b/arch/powerpc/sysdev/xics/xics-common.c
@@ -329,9 +329,6 @@ static int xics_host_map(struct irq_domain *h, unsigned int virq,
pr_devel("xics: map virq %d, hwirq 0x%lx\n", virq, hw);
- /* Insert the interrupt mapping into the radix tree for fast lookup */
- irq_radix_revmap_insert(xics_host, virq, hw);
-
/* They aren't all level sensitive but we just don't really know */
irq_set_status_flags(virq, IRQ_LEVEL);
OpenPOWER on IntegriCloud