linuxkpi: Add list_rotate_to_front
This just calls list_move_tail. Reviewed by: hselasky, bz Sponsored by: Beckhoff Automation GmbH & Co. KG MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D34251
This commit is contained in:
parent
cb15ed7da2
commit
bf7deecfe7
@ -269,6 +269,13 @@ list_move_tail(struct list_head *entry, struct list_head *head)
|
||||
list_add_tail(entry, head);
|
||||
}
|
||||
|
||||
static inline void
|
||||
list_rotate_to_front(struct list_head *entry, struct list_head *head)
|
||||
{
|
||||
|
||||
list_move_tail(entry, head);
|
||||
}
|
||||
|
||||
static inline void
|
||||
list_bulk_move_tail(struct list_head *head, struct list_head *first,
|
||||
struct list_head *last)
|
||||
|
Loading…
x
Reference in New Issue
Block a user