Add support for atomic_long_inc_not_zero() to the LinuxKPI.

Obtained from:	kmacy @
MFC after:	1 week
Sponsored by:	Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2016-05-23 11:44:46 +00:00
parent b5c541821a
commit 4a0f827906

View File

@ -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)
static inline long
atomic_long_add_return(long i, atomic_long_t *v)