]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/hwspinlock/hwspinlock_core.c
Merge tag 'keys-next-20160511' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowe...
[linux-beck.git] / drivers / hwspinlock / hwspinlock_core.c
index d50c701b19d678e9998319be36a492bb3a8eba6d..4074441444fed29128574a1f0a5c1143de857cd7 100644 (file)
@@ -313,7 +313,7 @@ int of_hwspin_lock_get_id(struct device_node *np, int index)
                hwlock = radix_tree_deref_slot(slot);
                if (unlikely(!hwlock))
                        continue;
-               if (radix_tree_is_indirect_ptr(hwlock)) {
+               if (radix_tree_deref_retry(hwlock)) {
                        slot = radix_tree_iter_retry(&iter);
                        continue;
                }