From 9d694bb20a4b6f8f6eebd397a6cdcc16d21c0287 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 5 Oct 2011 17:25:28 +1100 Subject: [PATCH] --- yaml --- r: 269179 b: refs/heads/master c: 540f41edc15473ca3b2876de72646546ae101374 h: refs/heads/master i: 269177: 39a713912e3f735dc76bf153f6a14de7393c7667 269175: 3d136680f4b29d6e6e35a94dc8886dae8c90d0c2 v: v3 --- [refs] | 2 +- trunk/include/linux/llist.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c97b95cd376e..1b0c67cbc8c6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 510f5acc4f4fb07f3f075900dc468d6e380beff6 +refs/heads/master: 540f41edc15473ca3b2876de72646546ae101374 diff --git a/trunk/include/linux/llist.h b/trunk/include/linux/llist.h index 837fb4ae66fb..7287734e08d1 100644 --- a/trunk/include/linux/llist.h +++ b/trunk/include/linux/llist.h @@ -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 */