File tree 1 file changed +14
-0
lines changed
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) {
3705
3705
// https://github.com/torvalds/linux/commit/c05cd3645814724bdeb32a2b4d953b12bdea5f8c
3706
3706
"xdp_umem_reg_v1" => true ,
3707
3707
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
+
3708
3714
_ => false ,
3709
3715
}
3710
3716
} ) ;
@@ -4123,6 +4129,14 @@ fn test_linux(target: &str) {
4123
4129
| "PF_MCE_EARLY"
4124
4130
| "PF_MEMALLOC_PIN" => true ,
4125
4131
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
+
4126
4140
_ => false ,
4127
4141
}
4128
4142
} ) ;
You can’t perform that action at this time.
0 commit comments