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 / short_aligned_atomic_load_store.h
index 3b285b885b22f1af0d01302d52b18d795e646ad5..675766b7c7245f5be163040b78ee97f187fd6935 100644 (file)
  */ 
 
 /*
- * Definitions for architecturs on which loads and stores of unsigned short are
- * atomic fo 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)
 {
   assert(((size_t)addr & (sizeof(unsigned short) - 1)) == 0);
   /* Cast away the volatile for architectures like IA64 where  */