aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/bits
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-12-19 17:08:38 +0000
committerJoseph Myers <josmyers@redhat.com>2024-12-19 17:08:38 +0000
commit29ae632e76e5dcb89bdbb38402af47a5040fe1d4 (patch)
tree263d9874f39fb2d6246ccc17d42d7dfcc4a78920 /sysdeps/unix/sysv/linux/bits
parent57256971b041a72d9f928bedcec6ac0e651276ee (diff)
downloadglibc-29ae632e76e5dcb89bdbb38402af47a5040fe1d4.zip
glibc-29ae632e76e5dcb89bdbb38402af47a5040fe1d4.tar.gz
glibc-29ae632e76e5dcb89bdbb38402af47a5040fe1d4.tar.bz2
Add SCHED_EXT from Linux 6.12 to bits/sched.h
Linux 6.12 adds the SCHED_EXT constant. Add it to glibc's bits/sched.h and update the kernel version in tst-sched-consts.py. Tested for x86_64.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits')
-rw-r--r--sysdeps/unix/sysv/linux/bits/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h
index f03f5f5..c8f5f03 100644
--- a/sysdeps/unix/sysv/linux/bits/sched.h
+++ b/sysdeps/unix/sysv/linux/bits/sched.h
@@ -34,6 +34,7 @@
# define SCHED_ISO 4
# define SCHED_IDLE 5
# define SCHED_DEADLINE 6
+# define SCHED_EXT 7
/* Flags that can be used in policy values. */
# define SCHED_RESET_ON_FORK 0x40000000