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:
Vladimir Kondratyev 2023-12-24 11:20:00 +03:00
parent 559999c00b
commit a620fdcdb7

View file

@ -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