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 / gcc / x86_64.h
index 91e99e62040394e7fa122f55fc1e3c579c8530e0..f2522b4ba90c0cc82cabba5cad6e5c2ad92510c0 100644 (file)
@@ -96,7 +96,7 @@ AO_short_fetch_and_add_full (volatile unsigned short *p, unsigned short incr)
 
 #define AO_HAVE_short_fetch_and_add_full
 
-AO_INLINE unsigned short
+AO_INLINE unsigned int
 AO_int_fetch_and_add_full (volatile unsigned int *p, unsigned int incr)
 {
   unsigned int result;
@@ -174,7 +174,7 @@ AO_compare_double_and_swap_double_full(volatile AO_double_t *addr,
 #else
 /* this one provides spinlock based emulation of CAS implemented in    */
 /* atomic_ops.c.  We probably do not want to do this here, since it is  */
-/* not attomic with respect to other kinds of updates of *addr.  On the */
+/* not atomic with respect to other kinds of updates of *addr.  On the  */
 /* other hand, this may be a useful facility on occasion.              */
 #ifdef AO_WEAK_DOUBLE_CAS_EMULATION
 int AO_compare_double_and_swap_double_emulation(volatile AO_double_t *addr,