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.h
index 96fd2cb66dd2c77bf43e4784cf50b00610360441..488cd20a444fc4c1fcff126e5df04296f6ef6cc9 100644 (file)
@@ -38,7 +38,7 @@
 
 #if defined(AO_USE_PENTIUM4_INSTRS)
 AO_INLINE void
-AO_nop_full()
+AO_nop_full(void)
 {
   __asm__ __volatile__("mfence" : : : "memory");
 }
@@ -143,7 +143,7 @@ AO_compare_double_and_swap_double_full(volatile AO_double_t *addr,
   char result;
   #if __PIC__
   /* If PIC is turned on, we can't use %ebx as it is reserved for the
-     GOT poiner.  We can save and restore %ebx because GCC won't be
+     GOT pointer.  We can save and restore %ebx because GCC won't be
      using it for anything else (such as any of the m operands) */
   __asm__ __volatile__("pushl %%ebx;"   /* save ebx used for PIC GOT ptr */
                       "movl %6,%%ebx;" /* move new_val2 to %ebx */