diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-03-26 12:44:27 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-03-26 12:46:50 +0200 |
commit | 87d308708712ff6075c4dd54b0519b47fdad8816 (patch) | |
tree | 2fb6458b1db7dd21be2648f42412dd2485846c76 /include/linux/refcount.h |
Backports v5.4.27
Backports generated by toradex backports f6e8852f1ef28e6d3c9bae8400eb6a87a6b0c3e7
against mainline kernel tag v5.4.27
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'include/linux/refcount.h')
-rw-r--r-- | include/linux/refcount.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/refcount.h b/include/linux/refcount.h new file mode 100644 index 0000000..541ec1e --- /dev/null +++ b/include/linux/refcount.h @@ -0,0 +1,30 @@ +/* Automatically created during backport process */ +#ifndef CPTCFG_BPAUTO_REFCOUNT +#include_next <linux/refcount.h> +#else +#undef refcount_add_not_zero_checked +#define refcount_add_not_zero_checked LINUX_BACKPORT(refcount_add_not_zero_checked) +#undef refcount_add_checked +#define refcount_add_checked LINUX_BACKPORT(refcount_add_checked) +#undef refcount_inc_not_zero_checked +#define refcount_inc_not_zero_checked LINUX_BACKPORT(refcount_inc_not_zero_checked) +#undef refcount_inc_checked +#define refcount_inc_checked LINUX_BACKPORT(refcount_inc_checked) +#undef refcount_sub_and_test_checked +#define refcount_sub_and_test_checked LINUX_BACKPORT(refcount_sub_and_test_checked) +#undef refcount_dec_and_test_checked +#define refcount_dec_and_test_checked LINUX_BACKPORT(refcount_dec_and_test_checked) +#undef refcount_dec_checked +#define refcount_dec_checked LINUX_BACKPORT(refcount_dec_checked) +#undef refcount_dec_if_one +#define refcount_dec_if_one LINUX_BACKPORT(refcount_dec_if_one) +#undef refcount_dec_not_one +#define refcount_dec_not_one LINUX_BACKPORT(refcount_dec_not_one) +#undef refcount_dec_and_mutex_lock +#define refcount_dec_and_mutex_lock LINUX_BACKPORT(refcount_dec_and_mutex_lock) +#undef refcount_dec_and_lock +#define refcount_dec_and_lock LINUX_BACKPORT(refcount_dec_and_lock) +#undef refcount_dec_and_lock_irqsave +#define refcount_dec_and_lock_irqsave LINUX_BACKPORT(refcount_dec_and_lock_irqsave) +#include <linux/backport-refcount.h> +#endif /* CPTCFG_BPAUTO_REFCOUNT */ |