summaryrefslogtreecommitdiffstats
path: root/include/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sched.h')
-rw-r--r--include/sched.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/sched.h b/include/sched.h
new file mode 100644
index 0000000000..43d239c3ef
--- /dev/null
+++ b/include/sched.h
@@ -0,0 +1,12 @@
+/* SPDX License Identifier: GPL-2.0 */
+#ifndef __BAREBOX_SCHED_H_
+#define __BAREBOX_SCHED_H_
+
+#include <poller.h>
+
+static inline void resched(void)
+{
+ poller_call();
+}
+
+#endif