X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=compat_futex.c;h=9dfcfeb43026639696875cc36367f05a554e0888;hp=61bc6c36bae265d8a0a58ec5e8f7b74d43781f26;hb=f9bf6d545e9e4801bec75043d716f9810ca1024d;hpb=6982d6d71aeed16d2d929bd0ed221e8f444b706e diff --git a/compat_futex.c b/compat_futex.c index 61bc6c3..9dfcfeb 100644 --- a/compat_futex.c +++ b/compat_futex.c @@ -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: