Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2007 03:19:23 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 131205 for review
Message-ID:  <200712190319.lBJ3JNWG006701@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131205

Change 131205 by jb@jb_freebsd1 on 2007/12/19 03:18:23

	Map Solaris' casptr to our atomic_cmpset_ptr.

Affected files ...

.. //depot/projects/dtrace/src/sys/compat/opensolaris/sys/atomic.h#5 edit

Differences ...

==== //depot/projects/dtrace/src/sys/compat/opensolaris/sys/atomic.h#5 (text+ko) ====

@@ -32,6 +32,8 @@
 #include <sys/types.h>
 #include <machine/atomic.h>
 
+#define	casptr	atomic_cmpset_ptr
+
 #ifndef __LP64__
 extern void atomic_add_64(volatile uint64_t *target, int64_t delta);
 extern void *atomic_cas_ptr(volatile void *target, void *cmp,  void *newval);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712190319.lBJ3JNWG006701>