Rename all memory primitives with prefix cmm_
[urcu.git] / urcu / system.h
index 0de7dd2e489f864e887552911f565500e6c9de0c..11a499ec96629488d4a878fa9c6e4733600212c5 100644 (file)
@@ -22,7 +22,7 @@
 #include <urcu/arch.h>
 
 /*
- * 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)
 
  */
 #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;                     \
        })
 
This page took 0.022496 seconds and 4 git commands to generate.