Author: ed Date: Sun Dec 25 20:59:39 2011 New Revision: 228880 URL: http://svn.freebsd.org/changeset/base/228880
Log: Fix field name. The value field in the atomic structure is called __val; not value. Modified: head/include/stdatomic.h Modified: head/include/stdatomic.h ============================================================================== --- head/include/stdatomic.h Sun Dec 25 20:51:40 2011 (r228879) +++ head/include/stdatomic.h Sun Dec 25 20:59:39 2011 (r228880) @@ -214,7 +214,7 @@ typedef _Atomic(__uintmax_t) atomic_uin #if __has_builtin(__sync_swap) /* Clang provides a full-barrier atomic exchange - use it if available. */ #define atomic_exchange_explicit(object, desired, order) \ - __sync_swap(&(object)->value, desired) + __sync_swap(&(object)->__val, desired) #else /* * __sync_lock_test_and_set() is only an acquire barrier in theory (although in _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"