Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2017 07:36:46 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320050 - head/sys/riscv/include
Message-ID:  <201706170736.v5H7ak6H021159@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Sat Jun 17 07:36:46 2017
New Revision: 320050
URL: https://svnweb.freebsd.org/changeset/base/320050

Log:
  Undefine temporary macro.
  This fixes world build.
  
  Sponsored by:	DARPA, AFRL

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

Modified: head/sys/riscv/include/atomic.h
==============================================================================
--- head/sys/riscv/include/atomic.h	Sat Jun 17 03:05:25 2017	(r320049)
+++ head/sys/riscv/include/atomic.h	Sat Jun 17 07:36:46 2017	(r320050)
@@ -512,6 +512,8 @@ atomic_store_rel_64(volatile uint64_t *p, uint64_t val
 #define	atomic_set_acq_ptr		atomic_set_acq_64
 #define	atomic_subtract_acq_ptr		atomic_subtract_acq_64
 
+#undef ATOMIC_ACQ_REL
+
 static __inline void
 atomic_thread_fence_acq(void)
 {



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