boehm-gc: revert all CACAO-specific modifications; this is now an exact copy of the...
[cacao.git] / src / mm / boehm-gc / libatomic_ops-1.2 / src / atomic_ops / sysdeps / ibmc / powerpc.h
index d1f9c500084668a12fb4e86d8ee76acd21e8bbd3..4a1badbd89c3222f97490e70d22be1f81af80c86 100644 (file)
@@ -31,7 +31,7 @@ void AO_lwsync(void);
 /* We explicitly specify load_acquire and store_release, since these   */
 /* rely on the fact that lwsync is also a LoadStore barrier.           */
 AO_INLINE AO_t
-AO_load_acquire(volatile AO_t *addr)
+AO_load_acquire(const volatile AO_t *addr)
 {
   AO_t result = *addr;
   AO_lwsync();