projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
list: fix order of arguments for hlist_add_after(_rcu)
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
list.h
diff --git
a/include/linux/list.h
b/include/linux/list.h
index 624ec7f48293b3e37968d0486b58b2c31e315383..cbbb96fcead9208da224866d849f3b3dfcf0337e 100644
(file)
--- a/
include/linux/list.h
+++ b/
include/linux/list.h
@@
-654,8
+654,8
@@
static inline void hlist_add_before(struct hlist_node *n,
*(n->pprev) = n;
}
-static inline void hlist_add_
after(struct hlist_node *prev
,
-
struct hlist_node *n
)
+static inline void hlist_add_
behind(struct hlist_node *n
,
+
struct hlist_node *prev
)
{
n->next = prev->next;
prev->next = n;