diff options
Diffstat (limited to 'kernels/linux-libre-grsec-knock/0001-ARM-fix-implicit-function-declaration.patch')
-rw-r--r-- | kernels/linux-libre-grsec-knock/0001-ARM-fix-implicit-function-declaration.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kernels/linux-libre-grsec-knock/0001-ARM-fix-implicit-function-declaration.patch b/kernels/linux-libre-grsec-knock/0001-ARM-fix-implicit-function-declaration.patch new file mode 100644 index 000000000..3b3015b1c --- /dev/null +++ b/kernels/linux-libre-grsec-knock/0001-ARM-fix-implicit-function-declaration.patch @@ -0,0 +1,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); |