avoid compiler errors by using MAX_CORES = 1

This commit is contained in:
Stefan Lankes 2011-04-18 06:44:17 -07:00
parent 68564c3238
commit bd703f6be4

View file

@ -730,5 +730,7 @@ void scheduler(void)
get_task_out:
#if MAX_CORES > 1
spinlock_irqsave_unlock(&table_lock);
#else
return;
#endif
}