]> granicus.if.org Git - libatomic_ops/commitdiff
2006-07-11 Hans Boehm <Hans.Boehm@hp.com>
authorhboehm <hboehm>
Tue, 11 Jul 2006 18:44:38 +0000 (18:44 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 25 Jul 2011 11:19:42 +0000 (15:19 +0400)
* 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.

src/atomic_ops/sysdeps/hpc/ia64.h

index 72552d55511d30dcd7485476ef306e26c566daa6..b194e03e84b7e7d5fd07da5bc3cb79d24baba06b 100644 (file)
@@ -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