Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2016 00:29:11 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r294539 - head/sys/sparc64/include
Message-ID:  <201601220029.u0M0TBeJ043255@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Fri Jan 22 00:29:11 2016
New Revision: 294539
URL: https://svnweb.freebsd.org/changeset/base/294539

Log:
  Add an atomic_fetchadd_64() wrapper on sparc64.
  
  Reviewed by:	marius

Modified:
  head/sys/sparc64/include/atomic.h

Modified: head/sys/sparc64/include/atomic.h
==============================================================================
--- head/sys/sparc64/include/atomic.h	Fri Jan 22 00:13:18 2016	(r294538)
+++ head/sys/sparc64/include/atomic.h	Fri Jan 22 00:29:11 2016	(r294539)
@@ -319,6 +319,7 @@ ATOMIC_GEN(ptr, uintptr_t *, uintptr_t, 
 #define	atomic_fetchadd_int	atomic_add_int
 #define	atomic_fetchadd_32	atomic_add_32
 #define	atomic_fetchadd_long	atomic_add_long
+#define	atomic_fetchadd_64	atomic_add_64
 
 #undef ATOMIC_GEN
 #undef atomic_cas



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