From: Jens Axboe Date: Thu, 28 Feb 2013 21:13:29 +0000 (+0100) Subject: configure: fixup __sync_fetch_and_add() X-Git-Tag: fio-2.0.15~43 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=9c639a76200286bc6db7cefefef425cff65b0d78 configure: fixup __sync_fetch_and_add() Signed-off-by: Jens Axboe --- diff --git a/configure b/configure index 1a75fa48..d1f277d0 100755 --- a/configure +++ b/configure @@ -446,7 +446,7 @@ sfaa="no" cat > $TMPC << EOF static int sfaa(int *ptr) { - return __sync_fetch_and_and(ptr, 0); + return __sync_fetch_and_add(ptr, 0); } int main(int argc, char **argv) @@ -459,7 +459,7 @@ EOF if compile_prog "" "" "__sync_fetch_and_add()" ; then sfaa="yes" fi -echo "__sync_fetch_and add $sfaa" +echo "__sync_fetch_and_add $sfaa" ########################################## # libverbs probe