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:
parent
b5c541821a
commit
4a0f827906
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user