diff mbox series

[uclibc-ng-devel,1/1] sched.h_ Add SCHED_DEADLINE

Message ID 20220126221704.5643-1-petr.vorel@gmail.com
State Superseded
Headers show
Series [uclibc-ng-devel,1/1] sched.h_ Add SCHED_DEADLINE | expand

Commit Message

Petr Vorel Jan. 26, 2022, 10:17 p.m. UTC
Defined in kernel v3.14, commit
aab03e05e8f7 ("sched/deadline: Add SCHED_DEADLINE structures & implementation")

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 libc/sysdeps/linux/common/bits/sched.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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