summaryrefslogtreecommitdiff
path: root/test/test_mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_mutex.c')
-rw-r--r--test/test_mutex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_mutex.c b/test/test_mutex.c
index 029e2fe..684ec1b 100644
--- a/test/test_mutex.c
+++ b/test/test_mutex.c
@@ -33,6 +33,7 @@
#include <kern/atomic.h>
#include <kern/clock.h>
#include <kern/error.h>
+#include <kern/init.h>
#include <kern/kmem.h>
#include <kern/log.h>
#include <kern/mutex.h>
@@ -161,7 +162,7 @@ test_report_syscnt(struct timer *timer)
timer_schedule(timer, time);
}
-void
+void __init
test_setup(void)
{
uint64_t time;