File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -3705,6 +3705,12 @@ fn test_linux(target: &str) {
37053705 // https://github.com/torvalds/linux/commit/c05cd3645814724bdeb32a2b4d953b12bdea5f8c
37063706 "xdp_umem_reg_v1" => true ,
37073707
3708+ // Is defined in `<linux/sched/types.h>` but if this file is included at the same time
3709+ // as `<sched.h>`, the `struct sched_param` is defined twice, causing the compilation to
3710+ // fail. The problem doesn't seem to be present in more recent versions of the linux
3711+ // kernel so we can drop this and test the type once this new version is used in CI.
3712+ "sched_attr" => true ,
3713+
37083714 _ => false ,
37093715 }
37103716 } ) ;
@@ -4123,6 +4129,14 @@ fn test_linux(target: &str) {
41234129 | "PF_MCE_EARLY"
41244130 | "PF_MEMALLOC_PIN" => true ,
41254131
4132+ "SCHED_FLAG_KEEP_POLICY"
4133+ | "SCHED_FLAG_KEEP_PARAMS"
4134+ | "SCHED_FLAG_UTIL_CLAMP_MIN"
4135+ | "SCHED_FLAG_UTIL_CLAMP_MAX"
4136+ | "SCHED_FLAG_KEEP_ALL"
4137+ | "SCHED_FLAG_UTIL_CLAMP"
4138+ | "SCHED_FLAG_ALL" if musl => true , // Needs more recent linux headers.
4139+
41264140 _ => false ,
41274141 }
41284142 } ) ;
You can’t perform that action at this time.
0 commit comments