summaryrefslogtreecommitdiff
path: root/include/u-boot/schedule.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/u-boot/schedule.h')
-rw-r--r--include/u-boot/schedule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/u-boot/schedule.h b/include/u-boot/schedule.h
index 4fd34c41229..4605971fdcb 100644
--- a/include/u-boot/schedule.h
+++ b/include/u-boot/schedule.h
@@ -3,6 +3,8 @@
#ifndef _U_BOOT_SCHEDULE_H
#define _U_BOOT_SCHEDULE_H
+#include <uthread.h>
+
#if CONFIG_IS_ENABLED(CYCLIC)
/**
* schedule() - Schedule all potentially waiting tasks
@@ -17,6 +19,7 @@ void schedule(void);
static inline void schedule(void)
{
+ uthread_schedule();
}
#endif