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 | 07da368ee4e6235ccaeaf6f25679b920c70b466e (patch) | |
tree | 1481da1f05f7ef7ee7202f300adf7a1b7d46f01b /kern/mutex/mutex_adaptive_i.h | |
parent | 7b727eadea07bf03266400e8971794d9f614a00b (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 */ |