diff --git a/include/asm-generic/atomic-long.h b/include/asm-generic/atomic-long.h index b24b581..c96f179 100644 --- a/include/asm-generic/atomic-long.h +++ b/include/asm-generic/atomic-long.h @@ -225,6 +225,7 @@ static inline long atomic_long_add_unless(atomic_long_t *l, long a, long u) ATOMIC_LONG_PFX(_inc_not_zero)((ATOMIC_LONG_PFX(_t) *)(l)) #ifdef CONFIG_PAX_REFCOUNT +#define atomic_inc_return_unchecked(v) atomic_inc_return(v) static inline void pax_refcount_needs_these_functions(void) { atomic_read_unchecked((atomic_unchecked_t *)NULL);