diff mbox series

[uclibc-ng-devel,v2,1/1] sched.h: Add SCHED_DEADLINE

Message ID 20220126222057.6391-1-petr.vorel@gmail.com
State Accepted
Headers show
Series [uclibc-ng-devel,v2,1/1] sched.h: Add SCHED_DEADLINE | expand

Commit Message

Petr Vorel Jan. 26, 2022, 10:20 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>
---
Changes v1->v2:
* fix patch title

 libc/sysdeps/linux/common/bits/sched.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Waldemar Brodkorb Jan. 28, 2022, 3:38 p.m. UTC | #1
Hi,

applied and pushed,
 thx
   Waldemar

Petr Vorel wrote,

> Defined in kernel v3.14, commit
> aab03e05e8f7 ("sched/deadline: Add SCHED_DEADLINE structures & implementation")
> 
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
> Changes v1->v2:
> * fix patch title
> 
>  libc/sysdeps/linux/common/bits/sched.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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
> -- 
> 2.34.1
> 
> _______________________________________________
> devel mailing list -- devel@uclibc-ng.org
> To unsubscribe send an email to devel-leave@uclibc-ng.org
>
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