avoid compiler errors by using MAX_CORES = 1
This commit is contained in:
parent
68564c3238
commit
bd703f6be4
1 changed files with 2 additions and 0 deletions
|
@ -730,5 +730,7 @@ void scheduler(void)
|
|||
get_task_out:
|
||||
#if MAX_CORES > 1
|
||||
spinlock_irqsave_unlock(&table_lock);
|
||||
#else
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue