]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/llist.h
llist: Add back llist_add_batch() and llist_del_first() prototypes
[karo-tx-linux.git] / include / linux / llist.h
index 837fb4ae66fb112f42e94683e4946f657aa06696..7287734e08d1ac0fb662862491fb3719ba8fa9a4 100644 (file)
@@ -178,4 +178,10 @@ static inline struct llist_node *llist_del_all(struct llist_head *head)
 {
        return xchg(&head->first, NULL);
 }
+
+extern bool llist_add_batch(struct llist_node *new_first,
+                           struct llist_node *new_last,
+                           struct llist_head *head);
+extern struct llist_node *llist_del_first(struct llist_head *head);
+
 #endif /* LLIST_H */