Date: Thu, 20 Dec 2007 06:50:31 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 131294 for review Message-ID: <200712200650.lBK6oV9A068673@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131294 Change 131294 by jb@jb_freebsd1 on 2007/12/20 06:49:53 More compatibility cruft. Affected files ... .. //depot/projects/dtrace/src/sys/compat/opensolaris/sys/atomic.h#6 edit Differences ... ==== //depot/projects/dtrace/src/sys/compat/opensolaris/sys/atomic.h#6 (text+ko) ==== @@ -32,7 +32,9 @@ #include <sys/types.h> #include <machine/atomic.h> -#define casptr atomic_cmpset_ptr +#define casptr(_a, _b, _c) \ + atomic_cmpset_ptr((volatile uintptr_t *)(_a), (uintptr_t)(_b), (uintptr_t) (_c)) +#define cas32 atomic_cmpset_32 #ifndef __LP64__ extern void atomic_add_64(volatile uint64_t *target, int64_t delta);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712200650.lBK6oV9A068673>