diff options
Diffstat (limited to 'include/linux/llist.h')
-rw-r--r-- | include/linux/llist.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/llist.h b/include/linux/llist.h index 27bbdf5ddf8..e2e96d04ee4 100644 --- a/include/linux/llist.h +++ b/include/linux/llist.h @@ -138,6 +138,11 @@ static inline bool llist_empty(const struct llist_head *head) return ACCESS_ONCE(head->first) == NULL; } +static inline struct llist_node *llist_next(struct llist_node *node) +{ + return node->next; +} + /** * llist_add - add a new entry * @new: new entry to be added |