Fix two bugs in the base Pintos code:
[pintos-anon] / src / tests / threads / alarm-priority.c
index 4839ecdfc81491d36c656ea4ef98761cf5206616..2288ff6d6950034db2eedadf3b44c04d60377103 100644 (file)
@@ -19,7 +19,7 @@ test_alarm_priority (void)
   int i;
   
   /* This test does not work with the MLFQS. */
-  ASSERT (!enable_mlfqs);
+  ASSERT (!thread_mlfqs);
 
   wake_time = timer_ticks () + 5 * TIMER_FREQ;
   sema_init (&wait_sema, 0);