diff options
author | Richard Braun <rbraun@sceen.net> | 2018-01-16 01:52:26 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-01-16 01:52:26 +0100 |
commit | b4c679bd6093be21cd6e78fca90a4b490e8b83db (patch) | |
tree | 99d4f7da93fa4c560e1780e8c7d628e334824c21 /kern/mutex/mutex_adaptive.c | |
parent | 884e2de718cc47bb9e5200d866f41c88e74ba3c0 (diff) |
Clean up init op dependencies between syscnt and mutex
Diffstat (limited to 'kern/mutex/mutex_adaptive.c')
-rw-r--r-- | kern/mutex/mutex_adaptive.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kern/mutex/mutex_adaptive.c b/kern/mutex/mutex_adaptive.c index 3e6b610b..bda54532 100644 --- a/kern/mutex/mutex_adaptive.c +++ b/kern/mutex/mutex_adaptive.c @@ -318,6 +318,15 @@ mutex_adaptive_unlock_slow(struct mutex *mutex) } static int +mutex_adaptive_bootstrap(void) +{ + return 0; +} + +INIT_OP_DEFINE(mutex_adaptive_bootstrap, + INIT_OP_DEP(thread_setup_booter, true)); + +static int mutex_adaptive_setup(void) { mutex_adaptive_setup_debug(); @@ -325,6 +334,7 @@ mutex_adaptive_setup(void) } INIT_OP_DEFINE(mutex_adaptive_setup, + INIT_OP_DEP(mutex_adaptive_bootstrap, true), #ifdef CONFIG_MUTEX_DEBUG INIT_OP_DEP(syscnt_setup, true), #endif /* CONFIG_MUTEX_DEBUG */ |