projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
/
int_atomic_load_store.h
diff --git
a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/int_atomic_load_store.h
b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/int_atomic_load_store.h
index b2a4813df72c7819a855b3925f4ed9798dbf1c8e..570a850c93135082e6264dfe826a84a387f2964f 100644
(file)
--- a/
src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/int_atomic_load_store.h
+++ b/
src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/int_atomic_load_store.h
@@
-21,16
+21,16
@@
*/
/*
*/
/*
- * Definitions for architecturs on which loads and stores of unsigned int are
+ * Definitions for architectur
e
s on which loads and stores of unsigned int are
* atomic for all legal alignments.
*/
AO_INLINE unsigned int
* atomic for all legal alignments.
*/
AO_INLINE unsigned int
-AO_int_load(volatile unsigned int *addr)
+AO_int_load(
const
volatile unsigned int *addr)
{
/* Cast away the volatile for architectures like IA64 where */
/* volatile adds barrier semantics. */
{
/* Cast away the volatile for architectures like IA64 where */
/* volatile adds barrier semantics. */
- return (*(unsigned int *)addr);
+ return (*(
const
unsigned int *)addr);
}
#define AO_HAVE_int_load
}
#define AO_HAVE_int_load