summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2022-01-26 23:20:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-01-28 16:36:11 +0100
commitebe16ee2ae0e2e20e2950e5ceae179b98f1e4264 (patch)
tree1f1a975f300489ab9b21fd8c4b11c8dca57d4c66 /libc/sysdeps/linux/common
parent9e504a4ac839ac771ee96ea626d225adaa7df054 (diff)
sched.h: Add SCHED_DEADLINE
Defined in kernel v3.14, commit aab03e05e8f7 ("sched/deadline: Add SCHED_DEADLINE structures & implementation") Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/bits/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/sched.h b/libc/sysdeps/linux/common/bits/sched.h
index 9d05314f5..18a9fb98d 100644
--- a/libc/sysdeps/linux/common/bits/sched.h
+++ b/libc/sysdeps/linux/common/bits/sched.h
@@ -31,6 +31,7 @@
#ifdef __USE_GNU
# define SCHED_BATCH 3
# define SCHED_IDLE 5
+# define SCHED_DEADLINE 6
# define SCHED_RESET_ON_FORK 0x40000000
#endif