X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-pointer-static.h;h=5a1e0e4d12957fe984e6050aeabb06427425e264;hp=c8ac7f0c0861a2d80e20e935dddf99303693fa75;hb=06f22bdbb0c4c4d5db42a2e2dc35818aa61415be;hpb=5481ddb381061bda64aebc039900d21cac6a6caf diff --git a/urcu-pointer-static.h b/urcu-pointer-static.h index c8ac7f0..5a1e0e4 100644 --- a/urcu-pointer-static.h +++ b/urcu-pointer-static.h @@ -49,7 +49,7 @@ extern "C" { * Inserts memory barriers on architectures that require them (currently only * Alpha) and documents which pointers are protected by RCU. * - * The compiler memory barrier in LOAD_SHARED() ensures that value-speculative + * The compiler memory barrier in CAA_LOAD_SHARED() ensures that value-speculative * optimizations (e.g. VSS: Value Speculation Scheduling) does not perform the * data read before the pointer read by speculating the value of the pointer. * Correct ordering is ensured because the pointer is read as a volatile access. @@ -62,7 +62,7 @@ extern "C" { */ #define _rcu_dereference(p) ({ \ - typeof(p) _________p1 = LOAD_SHARED(p); \ + typeof(p) _________p1 = CAA_LOAD_SHARED(p); \ cmm_smp_read_barrier_depends(); \ (_________p1); \ })