summaryrefslogtreecommitdiff
path: root/kern/llsync.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-02-20 22:57:21 +0100
committerRichard Braun <rbraun@sceen.net>2018-02-20 22:57:21 +0100
commit326118bf300cf096cee04cb0a64789151ef8e273 (patch)
tree082660557b642253771c483b1d535e8d3f95eb75 /kern/llsync.c
parentda8eb9c244d27fd042adde6234ccec079681d7f4 (diff)
Rework the initialization operations of some kernel modules
In order to avoid workarounds that check whether a module is ready or not, break the initialization of some core modules into a bootstrap step for basic BSP initialization, and a setup step that completes initialization. Most users only need the bootstrap operation as a dependency, especially since scheduling isn't enabled yet.
Diffstat (limited to 'kern/llsync.c')
-rw-r--r--kern/llsync.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kern/llsync.c b/kern/llsync.c
index 5fcbd736..b7b8b2f2 100644
--- a/kern/llsync.c
+++ b/kern/llsync.c
@@ -113,8 +113,7 @@ INIT_OP_DEFINE(llsync_setup,
INIT_OP_DEP(mutex_setup, true),
INIT_OP_DEP(spinlock_setup, true),
INIT_OP_DEP(syscnt_setup, true),
- INIT_OP_DEP(thread_bootstrap, true),
- INIT_OP_DEP(work_setup, true));
+ INIT_OP_DEP(thread_bootstrap, true));
static void
llsync_process_global_checkpoint(void)