diff options
Diffstat (limited to 'kernel/async.c')
-rw-r--r-- | kernel/async.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/async.c b/kernel/async.c index 6958000eeb44..8ddee2c3e5b0 100644 --- a/kernel/async.c +++ b/kernel/async.c | |||
@@ -172,6 +172,8 @@ static async_cookie_t __async_schedule(async_func_ptr *ptr, void *data, struct a | |||
172 | ptr(data, newcookie); | 172 | ptr(data, newcookie); |
173 | return newcookie; | 173 | return newcookie; |
174 | } | 174 | } |
175 | INIT_LIST_HEAD(&entry->domain_list); | ||
176 | INIT_LIST_HEAD(&entry->global_list); | ||
175 | INIT_WORK(&entry->work, async_run_entry_fn); | 177 | INIT_WORK(&entry->work, async_run_entry_fn); |
176 | entry->func = ptr; | 178 | entry->func = ptr; |
177 | entry->data = data; | 179 | entry->data = data; |