summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linuxkpi/common/include/asm/atomic-long.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/asm/atomic-long.h b/sys/compat/linuxkpi/common/include/asm/atomic-long.h
index 0cf91c9..90187fc 100644
--- a/sys/compat/linuxkpi/common/include/asm/atomic-long.h
+++ b/sys/compat/linuxkpi/common/include/asm/atomic-long.h
@@ -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)
OpenPOWER on IntegriCloud