Move the version-info to the AM_LDFLAGS variable
[urcu.git] / compat_futex.c
index 61bc6c36bae265d8a0a58ec5e8f7b74d43781f26..28089cc838e0bccf2cb00768f67dbab967c4c653 100644 (file)
@@ -28,7 +28,7 @@
 #include <poll.h>
 
 #include <urcu/arch.h>
-#include <urcu/urcu-futex.h>
+#include <urcu/futex.h>
 
 static pthread_mutex_t compat_futex_lock = PTHREAD_MUTEX_INITIALIZER;
 static pthread_cond_t compat_futex_cond = PTHREAD_COND_INITIALIZER;
@@ -55,7 +55,7 @@ int compat_futex_noasync(int *uaddr, int op, int val,
        /*
         * memory barriers to serialize with the previous uaddr modification.
         */
-       smp_mb();
+       cmm_smp_mb();
 
        ret = pthread_mutex_lock(&compat_futex_lock);
        assert(!ret);
@@ -100,7 +100,7 @@ int compat_futex_async(int *uaddr, int op, int val,
        /*
         * Ensure previous memory operations on uaddr have completed.
         */
-       smp_mb();
+       cmm_smp_mb();
 
        switch (op) {
        case FUTEX_WAIT:
This page took 0.023877 seconds and 4 git commands to generate.