summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorCon Kolivas <kernel@kolivas.org>2017-11-20 17:12:49 +1100
committerCon Kolivas <kernel@kolivas.org>2017-11-20 17:12:49 +1100
commitfbc0b4595aeccc2cc03e292ac8743565b3d3037b (patch)
tree05f7868bbdfc57fc9a28019f85c6cc44c2cd1c37 /include/uapi
parentbebc6082da0a9f5d47a1ea2edc099bf671058bd4 (diff)
MuQSS version 0.162 CPU scheduler.4.14-muqss-162
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/sched.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h
index 30a9e51bbb1e..0178fd277aaa 100644
--- a/include/uapi/linux/sched.h
+++ b/include/uapi/linux/sched.h
@@ -37,9 +37,16 @@
#define SCHED_FIFO 1
#define SCHED_RR 2
#define SCHED_BATCH 3
-/* SCHED_ISO: reserved but not implemented yet */
+/* SCHED_ISO: Implemented on MuQSS only */
#define SCHED_IDLE 5
+#ifdef CONFIG_SCHED_MUQSS
+#define SCHED_ISO 4
+#define SCHED_IDLEPRIO SCHED_IDLE
+#define SCHED_MAX (SCHED_IDLEPRIO)
+#define SCHED_RANGE(policy) ((policy) <= SCHED_MAX)
+#else /* CONFIG_SCHED_MUQSS */
#define SCHED_DEADLINE 6
+#endif /* CONFIG_SCHED_MUQSS */
/* Can be ORed in to make sure the process is reverted back to SCHED_NORMAL on fork */
#define SCHED_RESET_ON_FORK 0x40000000