@@ -2403,18 +2403,6 @@ else
2403
2403
l2tpv3=no
2404
2404
fi
2405
2405
2406
- cat > $TMPC << EOF
2407
- #include <sys/mman.h>
2408
- int main(int argc, char *argv[]) {
2409
- return mlockall(MCL_FUTURE);
2410
- }
2411
- EOF
2412
- if compile_prog " " " " ; then
2413
- have_mlockall=yes
2414
- else
2415
- have_mlockall=no
2416
- fi
2417
-
2418
2406
# ########################################
2419
2407
# vhost interdependencies and host support
2420
2408
@@ -3842,21 +3830,6 @@ if test "$fortify_source" != "no"; then
3842
3830
fi
3843
3831
fi
3844
3832
3845
- # #########################################
3846
- # check if struct fsxattr is available via linux/fs.h
3847
-
3848
- have_fsxattr=no
3849
- cat > $TMPC << EOF
3850
- #include <linux/fs.h>
3851
- struct fsxattr foo;
3852
- int main(void) {
3853
- return 0;
3854
- }
3855
- EOF
3856
- if compile_prog " " " " ; then
3857
- have_fsxattr=yes
3858
- fi
3859
-
3860
3833
# #########################################
3861
3834
# check for usable membarrier system call
3862
3835
if test " $membarrier " = " yes" ; then
@@ -4358,13 +4331,6 @@ if test "$gdbus_codegen" != "" ; then
4358
4331
fi
4359
4332
echo " CONFIG_TLS_PRIORITY=\" $tls_priority \" " >> $config_host_mak
4360
4333
4361
- # Work around a system header bug with some kernel/XFS header
4362
- # versions where they both try to define 'struct fsxattr':
4363
- # xfs headers will not try to redefine structs from linux headers
4364
- # if this macro is set.
4365
- if test " $have_fsxattr " = " yes" ; then
4366
- echo " HAVE_FSXATTR=y" >> $config_host_mak
4367
- fi
4368
4334
if test " $xen " = " enabled" ; then
4369
4335
echo " CONFIG_XEN_BACKEND=y" >> $config_host_mak
4370
4336
echo " CONFIG_XEN_CTRL_INTERFACE_VERSION=$xen_ctrl_version " >> $config_host_mak
4569
4535
if test " $parallels " = " yes" ; then
4570
4536
echo " CONFIG_PARALLELS=y" >> $config_host_mak
4571
4537
fi
4572
- if test " $have_mlockall " = " yes" ; then
4573
- echo " HAVE_MLOCKALL=y" >> $config_host_mak
4574
- fi
4575
4538
4576
4539
if test " $plugins " = " yes" ; then
4577
4540
echo " CONFIG_PLUGIN=y" >> $config_host_mak
0 commit comments