From: Neale Ferguson Date: Mon, 22 Jun 2009 22:40:05 +0000 (+0000) Subject: Define a no-op memory barrier for s390(x) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f28716978a7ffc8e9e5a1ce0a42248f2b257154;p=gc Define a no-op memory barrier for s390(x) svn path=/trunk/mono/; revision=136657 --- diff --git a/ChangeLog b/ChangeLog index 923c82ef..58a1fcfe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2009-06-22 Neale Ferguson * include/private/gc_locks.h: Fix typo in 390 version of GC_compare_and_exchange + and define a null memory barrier. 2009-06-16 Geoff Norton diff --git a/include/private/gc_locks.h b/include/private/gc_locks.h index 6692df8f..6b1256dc 100644 --- a/include/private/gc_locks.h +++ b/include/private/gc_locks.h @@ -583,6 +583,7 @@ return retval == 0; } # endif +# define GC_memory_barrier() # endif # if !defined(GENERIC_COMPARE_AND_SWAP) /* Returns the original value of *addr. */