projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
510f5ac
)
llist: Add back llist_add_batch() and llist_del_first() prototypes
author
Stephen Rothwell
<
[email protected]
>
Wed, 5 Oct 2011 06:25:28 +0000
(17:25 +1100)
committer
Ingo Molnar
<
[email protected]
>
Tue, 11 Oct 2011 10:51:22 +0000
(12:51 +0200)
Commit
1230db8e1543
("llist: Make some llist functions inline")
has deleted the definitions, causing problems for (not upstream yet)
code that tries to make use of them.
Signed-off-by: Stephen Rothwell <
[email protected]
>
Acked-by: Peter Zijlstra <
[email protected]
>
Cc: Huang Ying <
[email protected]
>
Cc: David Miller <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
include/linux/llist.h
patch
|
blob
|
history
diff --git
a/include/linux/llist.h
b/include/linux/llist.h
index 837fb4ae66fb112f42e94683e4946f657aa06696..7287734e08d1ac0fb662862491fb3719ba8fa9a4 100644
(file)
--- 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)
{
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 */