Re: [PATCH] sched_attr: Do not define for glibc >= 2.41

2024-10-11 Thread Paolo Bonzini
On Fri, Oct 11, 2024 at 11:15 AM Laurent Vivier wrote: > > Le 11/10/2024 à 11:08, Paolo Bonzini a écrit : > > On 10/11/24 07:48, Khem Raj wrote: > >> glibc 2.41+ has added [1] definitions for sched_setattr and sched_getattr > >> functions > >> and struct sched_attr. Therefore, it needs to be chec

Re: [PATCH] sched_attr: Do not define for glibc >= 2.41

2024-10-11 Thread Laurent Vivier
Le 11/10/2024 à 11:08, Paolo Bonzini a écrit : On 10/11/24 07:48, Khem Raj wrote: glibc 2.41+ has added [1] definitions for sched_setattr and sched_getattr functions and struct sched_attr. Therefore, it needs to be checked for here as well before defining sched_attr Fixes builds with glibc/tru

Re: [PATCH] sched_attr: Do not define for glibc >= 2.41

2024-10-11 Thread Paolo Bonzini
On 10/11/24 07:48, Khem Raj wrote: glibc 2.41+ has added [1] definitions for sched_setattr and sched_getattr functions and struct sched_attr. Therefore, it needs to be checked for here as well before defining sched_attr Fixes builds with glibc/trunk [1] https://sourceware.org/git/?p=glibc.git

[PATCH] sched_attr: Do not define for glibc >= 2.41

2024-10-10 Thread Khem Raj
glibc 2.41+ has added [1] definitions for sched_setattr and sched_getattr functions and struct sched_attr. Therefore, it needs to be checked for here as well before defining sched_attr Fixes builds with glibc/trunk [1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=21571ca0d70302909cf72