summaryrefslogtreecommitdiff
path: root/patches/lib-refcount.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-09-17 23:31:39 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-09-19 11:06:48 +0200
commit0a4cd9bd740700db6e72da6d408d24ea50d224d7 (patch)
tree5e91f447b6abab54a3d262a66ddfdd44a951a742 /patches/lib-refcount.patch
parentc71cc7fc153fcd0f1215acfbb175f8363bd84cab (diff)
patches: make patches apply with kernel 4.19
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/lib-refcount.patch')
-rw-r--r--patches/lib-refcount.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/lib-refcount.patch b/patches/lib-refcount.patch
index aa9ff468..28106342 100644
--- a/patches/lib-refcount.patch
+++ b/patches/lib-refcount.patch
@@ -2,11 +2,11 @@ diff --git a/compat/lib-refcount.c b/compat/lib-refcount.c
index 5d0582a..8d108f9 100644
--- a/compat/lib-refcount.c
+++ b/compat/lib-refcount.c
-@@ -37,6 +37,7 @@
-
+@@ -39,6 +39,7 @@
#include <linux/refcount.h>
+ #include <linux/spinlock.h>
#include <linux/bug.h>
+#include <linux/export.h>
- #ifdef CONFIG_REFCOUNT_FULL
-
+ /**
+ * refcount_add_not_zero_checked - add a value to a refcount unless it is 0