]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
sh: intc: Fix up build failure introduced by radix tree changes.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 15 Nov 2010 05:30:30 +0000 (14:30 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 15 Nov 2010 05:30:30 +0000 (14:30 +0900)
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>
drivers/sh/intc/virq.c

index e5bf5d3c698e2f15a1ea16f31a4dad38312e6c08..4e0ff7181164c34eb603cd1b03e7633e34f681b3 100644 (file)
@@ -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();