X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=cacao.git;a=blobdiff_plain;f=src%2Fmm%2Fboehm-gc%2Flibatomic_ops-1.2%2Fsrc%2Fatomic_ops%2Fsysdeps%2Fatomic_load_store.h;h=c69c97a86c7f1eeb96dfc4dd7c896d20d6b4c2e1;hp=68c5179e4f8e7858ab4adc07ee8a9263b9774483;hb=c83bff94e40ee0a218a39931af17814d1a42cb5c;hpb=db5750e3eaf39a47dbccccfe7cdd180fb686aac6 diff --git a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/atomic_load_store.h b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/atomic_load_store.h index 68c5179e4..c69c97a86 100644 --- a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/atomic_load_store.h +++ b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/atomic_load_store.h @@ -21,16 +21,16 @@ */ /* - * Definitions for architecturs on which loads and stores of AO_t are - * atomic fo all legal alignments. + * Definitions for architectures on which loads and stores of AO_t are + * atomic for all legal alignments. */ AO_INLINE AO_t -AO_load(volatile AO_t *addr) +AO_load(const volatile AO_t *addr) { /* Cast away the volatile for architectures like IA64 where */ /* volatile adds barrier semantics. */ - return (*(AO_t *)addr); + return (*(const AO_t *)addr); } #define AO_HAVE_load