summaryrefslogtreecommitdiff
path: root/kern/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/kernel.c')
-rw-r--r--kern/kernel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kern/kernel.c b/kern/kernel.c
index 658c18d1..5d8b31ae 100644
--- a/kern/kernel.c
+++ b/kern/kernel.c
@@ -27,6 +27,10 @@
#include <machine/cpu.h>
#include <vm/vm_page.h>
+#ifdef RUN_TEST_MODULE
+#include <test/test.h>
+#endif /* RUN_TEST_MODULE */
+
void __init
kernel_main(void)
{
@@ -39,6 +43,10 @@ kernel_main(void)
work_setup();
llsync_setup();
+#ifdef RUN_TEST_MODULE
+ test_setup();
+#endif /* RUN_TEST_MODULE */
+
/*
* Enabling application processors is done late in the boot process for
* two reasons :