Date: Tue, 22 Oct 2019 08:56:46 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r353880 - stable/12/sys/i386/include Message-ID: <201910220856.x9M8ukMN099021@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Tue Oct 22 08:56:45 2019 New Revision: 353880 URL: https://svnweb.freebsd.org/changeset/base/353880 Log: MFC r353301: i386: hide more of atomic 64-bit definitions under _KERNEL Modified: stable/12/sys/i386/include/atomic.h Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/i386/include/atomic.h ============================================================================== --- stable/12/sys/i386/include/atomic.h Tue Oct 22 08:53:06 2019 (r353879) +++ stable/12/sys/i386/include/atomic.h Tue Oct 22 08:56:45 2019 (r353880) @@ -880,6 +880,7 @@ u_long atomic_swap_long(volatile u_long *p, u_long v); #define atomic_testandset_32 atomic_testandset_int #define atomic_testandclear_32 atomic_testandclear_int +#ifdef _KERNEL /* Operations on 64-bit quad words. */ #define atomic_cmpset_acq_64 atomic_cmpset_64 #define atomic_cmpset_rel_64 atomic_cmpset_64 @@ -893,6 +894,7 @@ u_long atomic_swap_long(volatile u_long *p, u_long v); #define atomic_subtract_rel_64 atomic_subtract_64 #define atomic_load_64 atomic_load_acq_64 #define atomic_store_64 atomic_store_rel_64 +#endif /* Operations on pointers. */ #define atomic_set_ptr(p, v) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910220856.x9M8ukMN099021>