diff options
-rw-r--r-- | kern/work.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kern/work.c b/kern/work.c index c55d85d4..3783df42 100644 --- a/kern/work.c +++ b/kern/work.c @@ -20,6 +20,7 @@ #include <kern/assert.h> #include <kern/bitmap.h> #include <kern/error.h> +#include <kern/init.h> #include <kern/kmem.h> #include <kern/list.h> #include <kern/macros.h> @@ -156,7 +157,7 @@ work_pool_compute_max_threads(unsigned int nr_cpus) return max_threads; } -static void +static void __init work_pool_init(struct work_pool *pool, unsigned int cpu, int flags) { char name[SYSCNT_NAME_SIZE]; @@ -472,7 +473,7 @@ work_thread_destroy(struct work_thread *worker) kmem_cache_free(&work_thread_cache, worker); } -void +void __init work_setup(void) { unsigned int i; |