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%2Fgeneralize-small.template;h=c9373df7d576fb47bf67cd96ef13c9228339d708;hp=b7e02b01b886d5edfbec317beafaa746240efa4c;hb=c83bff94e40ee0a218a39931af17814d1a42cb5c;hpb=db5750e3eaf39a47dbccccfe7cdd180fb686aac6 diff --git a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/generalize-small.template b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/generalize-small.template index b7e02b01b..c9373df7d 100644 --- a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/generalize-small.template +++ b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/generalize-small.template @@ -22,7 +22,7 @@ #if defined(AO_HAVE_XSIZE_load) && defined(AO_HAVE_nop_full) && \ !defined(AO_HAVE_XSIZE_load_acquire) AO_INLINE unsigned XCTYPE - AO_XSIZE_load_acquire(volatile unsigned XCTYPE *addr) + AO_XSIZE_load_acquire(const volatile unsigned XCTYPE *addr) { unsigned XCTYPE result = AO_XSIZE_load(addr); /* Acquire barrier would be useless, since the load could be delayed */ @@ -36,7 +36,7 @@ #if defined(AO_HAVE_XSIZE_load) && defined(AO_HAVE_nop_read) && \ !defined(AO_HAVE_XSIZE_load_read) AO_INLINE unsigned XCTYPE - AO_XSIZE_load_read(volatile unsigned XCTYPE *addr) + AO_XSIZE_load_read(const volatile unsigned XCTYPE *addr) { unsigned XCTYPE result = AO_XSIZE_load(addr); /* Acquire barrier would be useless, since the load could be delayed */