diff options
author | Richard Braun <rbraun@sceen.net> | 2017-08-30 23:27:31 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-08-31 00:43:37 +0200 |
commit | 5daf8db5209b0849a7bf43d9d823c67be9a52bcf (patch) | |
tree | 1481da1f05f7ef7ee7202f300adf7a1b7d46f01b /kern/mutex/mutex_adaptive_i.h | |
parent | a9719450e83c2c64eecd097d82beb624948e9de9 (diff) |
Add debugging code to the mutex modules
Diffstat (limited to 'kern/mutex/mutex_adaptive_i.h')
-rw-r--r-- | kern/mutex/mutex_adaptive_i.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kern/mutex/mutex_adaptive_i.h b/kern/mutex/mutex_adaptive_i.h index be822c24..a8598e60 100644 --- a/kern/mutex/mutex_adaptive_i.h +++ b/kern/mutex/mutex_adaptive_i.h @@ -28,6 +28,7 @@ #include <kern/atomic.h> #include <kern/error.h> +#include <kern/init.h> #include <kern/macros.h> #include <kern/mutex_types.h> #include <kern/thread.h> @@ -132,4 +133,8 @@ mutex_impl_unlock(struct mutex *mutex) } } +#define mutex_impl_setup mutex_adaptive_setup + +INIT_OP_DECLARE(mutex_adaptive_setup); + #endif /* _KERN_MUTEX_ADAPTIVE_I_H */ |