summaryrefslogtreecommitdiff
path: root/kern/rtmutex.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-08-30 23:27:31 +0200
committerRichard Braun <rbraun@sceen.net>2017-08-31 00:43:37 +0200
commit5daf8db5209b0849a7bf43d9d823c67be9a52bcf (patch)
tree1481da1f05f7ef7ee7202f300adf7a1b7d46f01b /kern/rtmutex.h
parenta9719450e83c2c64eecd097d82beb624948e9de9 (diff)
Add debugging code to the mutex modules
Diffstat (limited to 'kern/rtmutex.h')
-rw-r--r--kern/rtmutex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kern/rtmutex.h b/kern/rtmutex.h
index 87cd15ad..bc76b773 100644
--- a/kern/rtmutex.h
+++ b/kern/rtmutex.h
@@ -28,6 +28,7 @@
#include <stdint.h>
#include <kern/error.h>
+#include <kern/init.h>
#include <kern/macros.h>
#include <kern/rtmutex_i.h>
#include <kern/rtmutex_types.h>
@@ -119,4 +120,6 @@ rtmutex_unlock(struct rtmutex *rtmutex)
}
}
+INIT_OP_DECLARE(rtmutex_setup);
+
#endif /* _KERN_RTMUTEX_H */