blob: 3b3015b1c7583c492c7a010f6a3c8064ac7cc955 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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);
|