]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - include/linux/rhashtable.h
Disable pristine-tar option in gbp.conf, since there is no pristine-tar branch.
[bcachefs-tools-debian] / include / linux / rhashtable.h
index 6cf8c2571160cc8019aead4af8b8dff5f2f11914..1c6dbdc840590e302fcfe384e4db78e9889688ea 100644 (file)
@@ -27,8 +27,6 @@
 #include <linux/rculist.h>
 #include <linux/bit_spinlock.h>
 
-#define BIT(nr)                        (1UL << (nr))
-
 #include <linux/rhashtable-types.h>
 /*
  * Objects in an rhashtable have an embedded struct rhash_head
@@ -395,6 +393,7 @@ static inline void rht_assign_unlock(struct bucket_table *tbl,
        rcu_assign_pointer(*bkt, (void *)obj);
        preempt_enable();
        __release(bitlock);
+       bit_spin_wake(0, (unsigned long *) bkt);
 }
 
 /**