On Mon, Jun 20, 2016 at 01:05:53PM -0700, Davidlohr Bueso wrote: > +#ifndef atomic_fetch_inc > +#define atomic_fetch_inc(v) (atomic_fetch_add(1, v)) > +#endif
> +#ifndef atomic_fetch_dec > +#define atomic_fetch_dec(v) (atomic_fetch_sub(1, v)) > +#endif You're missing these for atomic64