mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
LinuxKPI: Rename linux_list_add to __list_add() in linux/list.h
to match Linux Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu, bz MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42818 (cherry picked from commit c58ddc25462699c0d13bf703adbed661bb102cac)
This commit is contained in:
parent
559999c00b
commit
a620fdcdb7
1 changed files with 3 additions and 3 deletions
|
|
@ -144,7 +144,7 @@ list_replace_init(struct list_head *old, struct list_head *new)
|
|||
}
|
||||
|
||||
static inline void
|
||||
linux_list_add(struct list_head *new, struct list_head *prev,
|
||||
__list_add(struct list_head *new, struct list_head *prev,
|
||||
struct list_head *next)
|
||||
{
|
||||
|
||||
|
|
@ -238,14 +238,14 @@ static inline void
|
|||
list_add(struct list_head *new, struct list_head *head)
|
||||
{
|
||||
|
||||
linux_list_add(new, head, head->next);
|
||||
__list_add(new, head, head->next);
|
||||
}
|
||||
|
||||
static inline void
|
||||
list_add_tail(struct list_head *new, struct list_head *head)
|
||||
{
|
||||
|
||||
linux_list_add(new, head->prev, head);
|
||||
__list_add(new, head->prev, head);
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
|
|
|||
Loading…
Reference in a new issue