X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fmm%2Fboehm-gc%2Flibatomic_ops-1.2%2Fsrc%2Fatomic_ops%2Fgeneralize-small.h;h=2b989a6af91ed2236a7866916e5b7e2bf1d11340;hb=c83bff94e40ee0a218a39931af17814d1a42cb5c;hp=4e45a0de9b163d19ca9b9b8896a8671aa86ebe33;hpb=c1ce9643c18b5f133568529fdf19e21e06bc2adc;p=cacao.git diff --git a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/generalize-small.h b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/generalize-small.h index 4e45a0de9..2b989a6af 100644 --- a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/generalize-small.h +++ b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/generalize-small.h @@ -22,7 +22,7 @@ #if defined(AO_HAVE_char_load) && defined(AO_HAVE_nop_full) && \ !defined(AO_HAVE_char_load_acquire) AO_INLINE unsigned char - AO_char_load_acquire(volatile unsigned char *addr) + AO_char_load_acquire(const volatile unsigned char *addr) { unsigned char result = AO_char_load(addr); /* Acquire barrier would be useless, since the load could be delayed */ @@ -36,7 +36,7 @@ #if defined(AO_HAVE_char_load) && defined(AO_HAVE_nop_read) && \ !defined(AO_HAVE_char_load_read) AO_INLINE unsigned char - AO_char_load_read(volatile unsigned char *addr) + AO_char_load_read(const volatile unsigned char *addr) { unsigned char result = AO_char_load(addr); /* Acquire barrier would be useless, since the load could be delayed */ @@ -597,7 +597,7 @@ #if defined(AO_HAVE_short_load) && defined(AO_HAVE_nop_full) && \ !defined(AO_HAVE_short_load_acquire) AO_INLINE unsigned short - AO_short_load_acquire(volatile unsigned short *addr) + AO_short_load_acquire(const volatile unsigned short *addr) { unsigned short result = AO_short_load(addr); /* Acquire barrier would be useless, since the load could be delayed */ @@ -611,7 +611,7 @@ #if defined(AO_HAVE_short_load) && defined(AO_HAVE_nop_read) && \ !defined(AO_HAVE_short_load_read) AO_INLINE unsigned short - AO_short_load_read(volatile unsigned short *addr) + AO_short_load_read(const volatile unsigned short *addr) { unsigned short result = AO_short_load(addr); /* Acquire barrier would be useless, since the load could be delayed */ @@ -1172,7 +1172,7 @@ #if defined(AO_HAVE_int_load) && defined(AO_HAVE_nop_full) && \ !defined(AO_HAVE_int_load_acquire) AO_INLINE unsigned int - AO_int_load_acquire(volatile unsigned int *addr) + AO_int_load_acquire(const volatile unsigned int *addr) { unsigned int result = AO_int_load(addr); /* Acquire barrier would be useless, since the load could be delayed */ @@ -1186,7 +1186,7 @@ #if defined(AO_HAVE_int_load) && defined(AO_HAVE_nop_read) && \ !defined(AO_HAVE_int_load_read) AO_INLINE unsigned int - AO_int_load_read(volatile unsigned int *addr) + AO_int_load_read(const volatile unsigned int *addr) { unsigned int result = AO_int_load(addr); /* Acquire barrier would be useless, since the load could be delayed */