> On May 23, 2016, at 04:44, Hans Petter Selasky <hsela...@freebsd.org> wrote: > > Author: hselasky > Date: Mon May 23 11:44:46 2016 > New Revision: 300491 > URL: https://svnweb.freebsd.org/changeset/base/300491 > > Log: > Add support for atomic_long_inc_not_zero() to the LinuxKPI. > > Obtained from: kmacy @ > MFC after: 1 week > Sponsored by: Mellanox Technologies > > Modified: > head/sys/compat/linuxkpi/common/include/asm/atomic-long.h > > Modified: head/sys/compat/linuxkpi/common/include/asm/atomic-long.h > ============================================================================== > --- head/sys/compat/linuxkpi/common/include/asm/atomic-long.h Mon May 23 > 11:41:35 2016 (r300490) > +++ head/sys/compat/linuxkpi/common/include/asm/atomic-long.h Mon May 23 > 11:44:46 2016 (r300491) > @@ -41,6 +41,7 @@ typedef struct { > > #define atomic_long_add(i, v) atomic_long_add_return((i), (v)) > #define atomic_long_inc_return(v) atomic_long_add_return(1, (v)) > +#define atomic_long_inc_not_zero(v) atomic_long_inc_not_zero(v)
The same function name is used twice..? This seems a bit odd... > static inline long > atomic_long_add_return(long i, atomic_long_t *v) > _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"