aboutsummaryrefslogtreecommitdiffstats
path: root/src/threads/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/init.c')
-rw-r--r--src/threads/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/threads/init.c b/src/threads/init.c
index 54cae24..16be95d 100644
--- a/src/threads/init.c
+++ b/src/threads/init.c
@@ -91,7 +91,9 @@ main (void)
/* Initialize ourselves as a thread so we can use locks,
then enable console locking. */
thread_init ();
+#ifdef USERPROG
process_init ();
+#endif
console_init ();
/* Greet user. */