]> granicus.if.org Git - gc/commitdiff
Define a no-op memory barrier for s390(x)
authorNeale Ferguson <neale@mono-cvs.ximian.com>
Mon, 22 Jun 2009 22:40:05 +0000 (22:40 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 11:31:21 +0000 (15:31 +0400)
svn path=/trunk/mono/; revision=136657

ChangeLog
include/private/gc_locks.h

index 923c82efe90b50a66f5651e148c9742a360a4f49..58a1fcfe798142b9dde94fa15b9408d37638767a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2009-06-22  Neale Ferguson <neale@sinenomine.net>
 
        * 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  <gnorton@novell.com>
 
index 6692df8fa586eca4d91ac8f777119231e0282deb..6b1256dcbca3f2d72492489f6d3b3c2d7ce41e43 100644 (file)
            return retval == 0;
          }
 #      endif
+#      define GC_memory_barrier()
 #     endif
 #     if !defined(GENERIC_COMPARE_AND_SWAP)
         /* Returns the original value of *addr.        */