diff options
Diffstat (limited to 'include/linux/list.h')
-rw-r--r-- | include/linux/list.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/list.h b/include/linux/list.h index 9202703be2a4..f29fc9c1a964 100644 --- a/include/linux/list.h +++ b/include/linux/list.h | |||
@@ -264,8 +264,8 @@ static inline void list_del_init(struct list_head *entry) | |||
264 | */ | 264 | */ |
265 | static inline void list_move(struct list_head *list, struct list_head *head) | 265 | static inline void list_move(struct list_head *list, struct list_head *head) |
266 | { | 266 | { |
267 | __list_del(list->prev, list->next); | 267 | __list_del(list->prev, list->next); |
268 | list_add(list, head); | 268 | list_add(list, head); |
269 | } | 269 | } |
270 | 270 | ||
271 | /** | 271 | /** |
@@ -276,8 +276,8 @@ static inline void list_move(struct list_head *list, struct list_head *head) | |||
276 | static inline void list_move_tail(struct list_head *list, | 276 | static inline void list_move_tail(struct list_head *list, |
277 | struct list_head *head) | 277 | struct list_head *head) |
278 | { | 278 | { |
279 | __list_del(list->prev, list->next); | 279 | __list_del(list->prev, list->next); |
280 | list_add_tail(list, head); | 280 | list_add_tail(list, head); |
281 | } | 281 | } |
282 | 282 | ||
283 | /** | 283 | /** |