From: hboehm Date: Tue, 11 Jul 2006 18:44:38 +0000 (+0000) Subject: 2006-07-11 Hans Boehm X-Git-Tag: libatomic_ops-1_2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e9dd13e2d274be6654f0539ab9da65e8ece4112;p=libatomic_ops 2006-07-11 Hans Boehm * mallocx.c (GC_malloc_atomic_uncollectable): Fix two serious editing errors. * os_dep.c (GC_get_stack_base): Return GC_SUCCESS from default version. * pthread_support.c (start_mark_threads): Remove dummy version. * libatomic_ops-1.1/src/atomic_ops/sysdeps/hpc/ia64.h: Fix typos. Didn't compile. * tests/thread_leak_test.c(test): Return something. --- diff --git a/src/atomic_ops/sysdeps/hpc/ia64.h b/src/atomic_ops/sysdeps/hpc/ia64.h index 72552d5..b194e03 100644 --- a/src/atomic_ops/sysdeps/hpc/ia64.h +++ b/src/atomic_ops/sysdeps/hpc/ia64.h @@ -130,7 +130,7 @@ AO_INLINE int AO_char_compare_and_swap_release(volatile unsigned char *addr, unsigned char old, unsigned char new_val) { - insigned char oldval; + unsigned char oldval; _Asm_mov_to_ar(_AREG_CCV, old, _UP_MEM_FENCE); oldval = _Asm_cmpxchg(_SZ_B, _SEM_REL, addr, new_val, _LDHINT_NONE, _UP_MEM_FENCE); @@ -158,7 +158,7 @@ AO_INLINE int AO_short_compare_and_swap_release(volatile unsigned short *addr, unsigned short old, unsigned short new_val) { - insigned short oldval; + unsigned short oldval; _Asm_mov_to_ar(_AREG_CCV, old, _UP_MEM_FENCE); oldval = _Asm_cmpxchg(_SZ_B, _SEM_REL, addr, new_val, _LDHINT_NONE, _UP_MEM_FENCE); @@ -169,6 +169,6 @@ AO_short_compare_and_swap_release(volatile unsigned short *addr, #define AO_HAVE_short_compare_and_swap_release #ifndef __LP64__ -# include "ao_t_is_int.h" +# include "../ao_t_is_int.h" #endif