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.h | |
parent | 884e2de718cc47bb9e5200d866f41c88e74ba3c0 (diff) |
Clean up init op dependencies between syscnt and mutex
Diffstat (limited to 'kern/mutex.h')
-rw-r--r-- | kern/mutex.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kern/mutex.h b/kern/mutex.h index f152d317..10872e6e 100644 --- a/kern/mutex.h +++ b/kern/mutex.h @@ -111,6 +111,15 @@ mutex_unlock(struct mutex *mutex) } /* + * Special init operation for syscnt_setup. + * + * This init operation only exists to avoid a circular dependency between + * syscnt_setup and mutex_setup, without giving syscnt_setup knowledge + * about the dependencies of mutex_setup. + */ +INIT_OP_DECLARE(mutex_bootstrap); + +/* * This init operation provides : * - uncontended mutex locking * |