summaryrefslogtreecommitdiff
path: root/test/test_pmap_update_mp.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_pmap_update_mp.c')
-rw-r--r--test/test_pmap_update_mp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_pmap_update_mp.c b/test/test_pmap_update_mp.c
index c058323a..7b6431a0 100644
--- a/test/test_pmap_update_mp.c
+++ b/test/test_pmap_update_mp.c
@@ -31,6 +31,7 @@
#include <kern/condition.h>
#include <kern/cpumap.h>
#include <kern/error.h>
+#include <kern/init.h>
#include <kern/mutex.h>
#include <kern/panic.h>
#include <kern/thread.h>
@@ -94,7 +95,7 @@ test_run2(void *arg)
printf("done\n");
}
-void
+void __init
test_setup(void)
{
struct thread_attr attr;