summaryrefslogtreecommitdiff
path: root/kern/kernel.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-06-03 22:02:01 +0200
committerRichard Braun <rbraun@sceen.net>2013-06-03 22:02:01 +0200
commit195093aee7f240ac341b428fa758a598d10dbaab (patch)
tree4d1844e7c881ff1cd838651459ace16c62b0012a /kern/kernel.c
parent7b712748e94fadbcb9131c5c1b19caa3d360db5c (diff)
kern/work: new module
This module implements thread pools to concurrently process queues of deferred works.
Diffstat (limited to 'kern/kernel.c')
-rw-r--r--kern/kernel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/kernel.c b/kern/kernel.c
index afeb1719..5508d569 100644
--- a/kern/kernel.c
+++ b/kern/kernel.c
@@ -22,6 +22,7 @@
#include <kern/panic.h>
#include <kern/task.h>
#include <kern/thread.h>
+#include <kern/work.h>
#include <machine/cpu.h>
void __init
@@ -36,6 +37,7 @@ kernel_main(void)
cpumap_setup();
task_setup();
thread_setup();
+ work_setup();
llsync_setup();
/* Rendezvous with APs */