patches: include export.h in lib/refcount.c
authorJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2017 14:50:19 +0000 (16:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2017 14:50:19 +0000 (16:50 +0200)
This isn't automatically included in all kernels, include
it explicitly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
patches/lib-refcount.patch [new file with mode: 0644]

diff --git a/patches/lib-refcount.patch b/patches/lib-refcount.patch
new file mode 100644 (file)
index 0000000..dc884f0
--- /dev/null
@@ -0,0 +1,12 @@
+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
+@@ -36,6 +36,7 @@
+ #include <linux/refcount.h>
+ #include <linux/bug.h>
++#include <linux/export.h>
+ #ifdef CONFIG_REFCOUNT_FULL