From d9ae213323d0a036b7f3594de6822413a4c312c6 Mon Sep 17 00:00:00 2001 From: klaar36 Date: Mon, 20 Mar 2017 17:57:16 +0100 Subject: TIMER_FREQ test program compilation fix --- src/threads/init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/threads/init.c') 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. */ -- cgit v1.2.1