--- zzzz-none-000/linux-4.9.218/include/linux/async.h 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ax-750/linux-4.9.218/include/linux/async.h 2023-03-29 10:59:07.000000000 +0000 @@ -14,6 +14,7 @@ #include #include +#include typedef u64 async_cookie_t; typedef void (*async_func_t) (void *data, async_cookie_t cookie); @@ -22,6 +23,19 @@ unsigned registered:1; }; +extern struct list_head async_global_pending; +extern spinlock_t async_lock; + +struct async_entry { + struct list_head domain_list; + struct list_head global_list; + struct work_struct work; + async_cookie_t cookie; + async_func_t func; + void *data; + struct async_domain *domain; +}; + /* * domain participates in global async_synchronize_full */