diff options
Diffstat (limited to 'include/linux/llist.h')
-rw-r--r-- | include/linux/llist.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/llist.h b/include/linux/llist.h index 837fb4ae66fb..7287734e08d1 100644 --- a/include/linux/llist.h +++ b/include/linux/llist.h | |||
@@ -178,4 +178,10 @@ static inline struct llist_node *llist_del_all(struct llist_head *head) | |||
178 | { | 178 | { |
179 | return xchg(&head->first, NULL); | 179 | return xchg(&head->first, NULL); |
180 | } | 180 | } |
181 | |||
182 | extern bool llist_add_batch(struct llist_node *new_first, | ||
183 | struct llist_node *new_last, | ||
184 | struct llist_head *head); | ||
185 | extern struct llist_node *llist_del_first(struct llist_head *head); | ||
186 | |||
181 | #endif /* LLIST_H */ | 187 | #endif /* LLIST_H */ |