瀏覽代碼

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>
Paul Mundt 15 年之前
父節點
當前提交
6318af900c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/sh/intc/virq.c

+ 1 - 1
drivers/sh/intc/virq.c

@@ -215,7 +215,7 @@ static void __init intc_subgroup_map(struct intc_desc_int *d)
 		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();