ATOMIC(LIST_ASSERT_VALID(&ProcReadyList));
ASSERT_USER_CONTEXT();
- ASSERT_IRQ_ENABLED();
+ IRQ_ASSERT_ENABLED();
/* Poll on the ready queue for the first ready process */
IRQ_SAVE_DISABLE(flags);
void proc_switch(void)
{
/* Remember old process to save its context later */
- const Process *old_process = CurrentProcess;
+ Process * const old_process = CurrentProcess;
proc_schedule();