summaryrefslogtreecommitdiff
path: root/src/core/ao_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ao_task.c')
-rw-r--r--src/core/ao_task.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ao_task.c b/src/core/ao_task.c
index 9cb074b5..0aad6508 100644
--- a/src/core/ao_task.c
+++ b/src/core/ao_task.c
@@ -512,6 +512,7 @@ ao_exit(void)
/* we'll never get back here */
}
+#if HAS_TASK_INFO
void
ao_task_info(void)
{
@@ -528,6 +529,7 @@ ao_task_info(void)
ao_task_validate();
#endif
}
+#endif
void
ao_start_scheduler(void)
@@ -536,5 +538,8 @@ ao_start_scheduler(void)
ao_cur_task_index = AO_NO_TASK_INDEX;
#endif
ao_cur_task = NULL;
+#if HAS_ARCH_START_SCHEDULER
+ ao_arch_start_scheduler();
+#endif
ao_yield();
}