linuxkpi: Add __init_waitqueue_head
The only difference with init_waitqueue_head is that the name and the lock class key are provided but we don't use those so use init_waitqueue_head directly. Sponsored-by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24861
This commit is contained in:
parent
999f86d67d
commit
ff443195bf
@ -119,6 +119,8 @@ extern wait_queue_func_t default_wake_function;
|
||||
INIT_LIST_HEAD(&(wqh)->task_list); \
|
||||
} while (0)
|
||||
|
||||
#define __init_waitqueue_head(wqh, name, lk) init_waitqueue_head(wqh)
|
||||
|
||||
void linux_init_wait_entry(wait_queue_t *, int);
|
||||
void linux_wake_up(wait_queue_head_t *, unsigned int, int, bool);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user