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
index b2a4813df72c7819a855b3925f4ed9798dbf1c8e..570a850c93135082e6264dfe826a84a387f2964f 100644 (file)
  */ 
 
 /*
- * Definitions for architecturs on which loads and stores of unsigned int are
+ * Definitions for architectures on which loads and stores of unsigned int are
  * 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.                          */
-  return (*(unsigned int *)addr);
+  return (*(const unsigned int *)addr);
 }
 
 #define AO_HAVE_int_load