aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-05-09 19:19:36 +0000
committerJonas Gorski <jogo@openwrt.org>2013-05-09 19:19:36 +0000
commitc395ac1aef712e6f42027172a1901e23061a4017 (patch)
tree58a2d8e243e995637b9b9dadb53f5af71b7de8ac /target/linux
parent17a8d4dd6a93f2135f6f3fbce7a8836f23220f07 (diff)
downloadupstream-c395ac1aef712e6f42027172a1901e23061a4017.tar.gz
upstream-c395ac1aef712e6f42027172a1901e23061a4017.tar.bz2
upstream-c395ac1aef712e6f42027172a1901e23061a4017.zip
kernel: allow building zsmalloc as a module again
zsmalloc was changed to a bool because of missing exports in the kernel, but we already export the required symbol, so change it back to tristate. Closes #13481. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36587 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/patches-3.8/996-zsmalloc_allow_module_build.patch9
-rw-r--r--target/linux/generic/patches-3.9/996-zsmalloc_allow_module_build.patch9
2 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.8/996-zsmalloc_allow_module_build.patch b/target/linux/generic/patches-3.8/996-zsmalloc_allow_module_build.patch
new file mode 100644
index 0000000000..eaa9fc60e9
--- /dev/null
+++ b/target/linux/generic/patches-3.8/996-zsmalloc_allow_module_build.patch
@@ -0,0 +1,9 @@
+--- a/drivers/staging/zsmalloc/Kconfig
++++ b/drivers/staging/zsmalloc/Kconfig
+@@ -1,5 +1,5 @@
+ config ZSMALLOC
+- bool "Memory allocator for compressed pages"
++ tristate "Memory allocator for compressed pages"
+ default n
+ help
+ zsmalloc is a slab-based memory allocator designed to store
diff --git a/target/linux/generic/patches-3.9/996-zsmalloc_allow_module_build.patch b/target/linux/generic/patches-3.9/996-zsmalloc_allow_module_build.patch
new file mode 100644
index 0000000000..eaa9fc60e9
--- /dev/null
+++ b/target/linux/generic/patches-3.9/996-zsmalloc_allow_module_build.patch
@@ -0,0 +1,9 @@
+--- a/drivers/staging/zsmalloc/Kconfig
++++ b/drivers/staging/zsmalloc/Kconfig
+@@ -1,5 +1,5 @@
+ config ZSMALLOC
+- bool "Memory allocator for compressed pages"
++ tristate "Memory allocator for compressed pages"
+ default n
+ help
+ zsmalloc is a slab-based memory allocator designed to store