X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fsystem.h;h=11a499ec96629488d4a878fa9c6e4733600212c5;hp=0de7dd2e489f864e887552911f565500e6c9de0c;hb=5481ddb381061bda64aebc039900d21cac6a6caf;hpb=21c0a9849be7342dbe4ea717cc1785bd133d5367 diff --git a/urcu/system.h b/urcu/system.h index 0de7dd2..11a499e 100644 --- a/urcu/system.h +++ b/urcu/system.h @@ -22,7 +22,7 @@ #include /* - * Identify a shared load. A smp_rmc() or smp_mc() should come before the load. + * Identify a shared load. A cmm_smp_rmc() or cmm_smp_mc() should come before the load. */ #define _LOAD_SHARED(p) ACCESS_ONCE(p) @@ -31,12 +31,12 @@ */ #define LOAD_SHARED(p) \ ({ \ - smp_rmc(); \ + cmm_smp_rmc(); \ _LOAD_SHARED(p); \ }) /* - * Identify a shared store. A smp_wmc() or smp_mc() should follow the store. + * Identify a shared store. A cmm_smp_wmc() or cmm_smp_mc() should follow the store. */ #define _STORE_SHARED(x, v) ({ ACCESS_ONCE(x) = (v); }) @@ -47,7 +47,7 @@ #define STORE_SHARED(x, v) \ ({ \ typeof(x) _v = _STORE_SHARED(x, v); \ - smp_wmc(); \ + cmm_smp_wmc(); \ _v; \ })