@@ -3110,19 +3110,6 @@ elif test "$tpm" = "yes"; then
3110
3110
fi
3111
3111
fi
3112
3112
3113
- # #########################################
3114
- # iovec probe
3115
- cat > $TMPC << EOF
3116
- #include <sys/types.h>
3117
- #include <sys/uio.h>
3118
- #include <unistd.h>
3119
- int main(void) { return sizeof(struct iovec); }
3120
- EOF
3121
- iovec=no
3122
- if compile_prog " " " " ; then
3123
- iovec=yes
3124
- fi
3125
-
3126
3113
# #########################################
3127
3114
# fdt probe
3128
3115
@@ -3564,42 +3551,6 @@ EOF
3564
3551
fi
3565
3552
fi
3566
3553
3567
- # ########################################
3568
- # See if 64-bit atomic operations are supported.
3569
- # Note that without __atomic builtins, we can only
3570
- # assume atomic loads/stores max at pointer size.
3571
-
3572
- cat > $TMPC << EOF
3573
- #include <stdint.h>
3574
- int main(void)
3575
- {
3576
- uint64_t x = 0, y = 0;
3577
- y = __atomic_load_n(&x, __ATOMIC_RELAXED);
3578
- __atomic_store_n(&x, y, __ATOMIC_RELAXED);
3579
- __atomic_compare_exchange_n(&x, &y, x, 0, __ATOMIC_RELAXED, __ATOMIC_RELAXED);
3580
- __atomic_exchange_n(&x, y, __ATOMIC_RELAXED);
3581
- __atomic_fetch_add(&x, y, __ATOMIC_RELAXED);
3582
- return 0;
3583
- }
3584
- EOF
3585
- if compile_prog " " " " ; then
3586
- atomic64=yes
3587
- fi
3588
-
3589
- # #######################################
3590
- # check if getauxval is available.
3591
-
3592
- getauxval=no
3593
- cat > $TMPC << EOF
3594
- #include <sys/auxv.h>
3595
- int main(void) {
3596
- return getauxval(AT_HWCAP) == 0;
3597
- }
3598
- EOF
3599
- if compile_prog " " " " ; then
3600
- getauxval=yes
3601
- fi
3602
-
3603
3554
# #######################################
3604
3555
# check if ccache is interfering with
3605
3556
# semantic analysis of macros
@@ -3673,33 +3624,6 @@ else
3673
3624
membarrier=no
3674
3625
fi
3675
3626
3676
- # #########################################
3677
- # check for usable AF_VSOCK environment
3678
- have_af_vsock=no
3679
- cat > $TMPC << EOF
3680
- #include <errno.h>
3681
- #include <sys/types.h>
3682
- #include <sys/socket.h>
3683
- #if !defined(AF_VSOCK)
3684
- # error missing AF_VSOCK flag
3685
- #endif
3686
- #include <linux/vm_sockets.h>
3687
- int main(void) {
3688
- int sock, ret;
3689
- struct sockaddr_vm svm;
3690
- socklen_t len = sizeof(svm);
3691
- sock = socket(AF_VSOCK, SOCK_STREAM, 0);
3692
- ret = getpeername(sock, (struct sockaddr *)&svm, &len);
3693
- if ((ret == -1) && (errno == ENOTCONN)) {
3694
- return 0;
3695
- }
3696
- return -1;
3697
- }
3698
- EOF
3699
- if compile_prog " " " " ; then
3700
- have_af_vsock=yes
3701
- fi
3702
-
3703
3627
# #########################################
3704
3628
# check for usable AF_ALG environment
3705
3629
have_afalg=no
4175
4099
if test " $vhost_user_fs " = " yes" ; then
4176
4100
echo " CONFIG_VHOST_USER_FS=y" >> $config_host_mak
4177
4101
fi
4178
- if test " $iovec " = " yes" ; then
4179
- echo " CONFIG_IOVEC=y" >> $config_host_mak
4180
- fi
4181
4102
if test " $membarrier " = " yes" ; then
4182
4103
echo " CONFIG_MEMBARRIER=y" >> $config_host_mak
4183
4104
fi
@@ -4247,14 +4168,6 @@ if test "$cmpxchg128" = "yes" ; then
4247
4168
echo " CONFIG_CMPXCHG128=y" >> $config_host_mak
4248
4169
fi
4249
4170
4250
- if test " $atomic64 " = " yes" ; then
4251
- echo " CONFIG_ATOMIC64=y" >> $config_host_mak
4252
- fi
4253
-
4254
- if test " $getauxval " = " yes" ; then
4255
- echo " CONFIG_GETAUXVAL=y" >> $config_host_mak
4256
- fi
4257
-
4258
4171
if test " $libssh " = " yes" ; then
4259
4172
echo " CONFIG_LIBSSH=y" >> $config_host_mak
4260
4173
echo " LIBSSH_CFLAGS=$libssh_cflags " >> $config_host_mak
@@ -4282,10 +4195,6 @@ if test "$replication" = "yes" ; then
4282
4195
echo " CONFIG_REPLICATION=y" >> $config_host_mak
4283
4196
fi
4284
4197
4285
- if test " $have_af_vsock " = " yes" ; then
4286
- echo " CONFIG_AF_VSOCK=y" >> $config_host_mak
4287
- fi
4288
-
4289
4198
if test " $debug_mutex " = " yes" ; then
4290
4199
echo " CONFIG_DEBUG_MUTEX=y" >> $config_host_mak
4291
4200
fi
0 commit comments