X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fmm%2Fboehm-gc%2Flibatomic_ops-1.2%2Fsrc%2Fatomic_ops%2Fsysdeps%2Fshort_atomic_load_store.h;h=9ec9cf423362446f4c3bc35f185da779e15b716c;hb=c83bff94e40ee0a218a39931af17814d1a42cb5c;hp=f1b52818f1b3036b81a5a953a20cddcc39d2188f;hpb=7cdbbe3be2b5834a248a600176c742bd94aaf730;p=cacao.git diff --git a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/short_atomic_load_store.h b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/short_atomic_load_store.h index f1b52818f..9ec9cf423 100644 --- a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/short_atomic_load_store.h +++ b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/short_atomic_load_store.h @@ -21,16 +21,16 @@ */ /* - * Definitions for architecturs on which loads and stores of unsigned short are - * atomic for all legal alignments. + * Definitions for architectures on which loads and stores of unsigned short + * are atomic for all legal alignments. */ AO_INLINE unsigned short -AO_short_load(volatile unsigned short *addr) +AO_short_load(const volatile unsigned short *addr) { /* Cast away the volatile for architectures like IA64 where */ /* volatile adds barrier semantics. */ - return (*(unsigned short *)addr); + return (*(const unsigned short *)addr); } #define AO_HAVE_short_load