From 750cb71f275b386e276a581f03c01815c785cdaf Mon Sep 17 00:00:00 2001 From: hboehm Date: Fri, 18 May 2007 04:44:44 +0000 Subject: [PATCH] 2007-05-17 Hans Boehm * src/atomic_ops/sysdeps/gcc/hppa.h (AO_test_and_set_full): Add cast for return. 2007-05-17 Hans Boehm * include/private/gc_priv.h: Define AO_REQUIRE_CAS. --- ChangeLog | 4 ++++ include/private/gc_priv.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index a304d1b..4a1387b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-05-17 Hans Boehm + + * include/private/gc_priv.h: Ddefine AO_REQUIRE_CAS. + 2007-05-16 Hans Boehm * finalize.c (GC_unreachable_finalize_mark_proc): Don't return void diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index aaa8041..e9bc20f 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -36,6 +36,10 @@ # include #endif /* BSD_TIME */ +#ifdef PARALLEL_MARK +# define AO_REQUIRE_CAS +#endif + #ifndef _GC_H # include "../gc.h" #endif -- 2.7.4