[PATCH 3/7] patches: add missing import to rhashtable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lib-rhashtable.c misses a #include <linux/export.h> on some kernel
versions.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 patches/backport-adjustments/rhashtable.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 patches/backport-adjustments/rhashtable.patch

diff --git a/patches/backport-adjustments/rhashtable.patch b/patches/backport-adjustments/rhashtable.patch
new file mode 100644
index 0000000..1dd7acf
--- /dev/null
+++ b/patches/backport-adjustments/rhashtable.patch
@@ -0,0 +1,10 @@
+--- a/compat/lib-rhashtable.c
++++ b/compat/lib-rhashtable.c
+@@ -25,6 +25,7 @@
+ #include <linux/random.h>
+ #include <linux/rhashtable.h>
+ #include <linux/err.h>
++#include <linux/export.h>
+ 
+ #define HASH_DEFAULT_SIZE	64UL
+ #define HASH_MIN_SIZE		4UL
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux