summaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-11-15 14:30:30 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-11-15 14:30:30 +0900
commit6318af900ca7cb2c94b27d3c358762e6ac187e25 (patch)
tree3b07dcc8f33ffbe58f9ae63a6e6c0510edca735b /drivers/sh
parent344ac148442e3223ac1b0e29ef3d3fb73c5ed61a (diff)
downloadop-kernel-dev-6318af900ca7cb2c94b27d3c358762e6ac187e25.zip
op-kernel-dev-6318af900ca7cb2c94b27d3c358762e6ac187e25.tar.gz
sh: intc: Fix up build failure introduced by radix tree changes.
The radix tree retry logic got a bit of an overhaul and subsequently broke the virtual IRQ subgroup build. Simply switch over to radix_tree_deref_retry() as per the filemap changes, which the virq lookup logic was modelled after in the first place. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/intc/virq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/intc/virq.c b/drivers/sh/intc/virq.c
index e5bf5d3..4e0ff71 100644
--- a/drivers/sh/intc/virq.c
+++ b/drivers/sh/intc/virq.c
@@ -215,7 +215,7 @@ restart:
entry = radix_tree_deref_slot((void **)entries[i]);
if (unlikely(!entry))
continue;
- if (unlikely(entry == RADIX_TREE_RETRY))
+ if (radix_tree_deref_retry(entry))
goto restart;
irq = create_irq();
OpenPOWER on IntegriCloud