diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-05-09 19:19:36 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-05-09 19:19:36 +0000 |
commit | 98f6dc1b432ba46641a4ee9d7ff426abd6a69123 (patch) | |
tree | cd89ee130ac8ba446850d8c68465981545c8c4e2 /target/linux/generic | |
parent | cb3d71ca8eb3a1a76ec2f41cb8a4aa7ce1c55d99 (diff) | |
download | upstream-98f6dc1b432ba46641a4ee9d7ff426abd6a69123.tar.gz upstream-98f6dc1b432ba46641a4ee9d7ff426abd6a69123.tar.bz2 upstream-98f6dc1b432ba46641a4ee9d7ff426abd6a69123.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>
SVN-Revision: 36587
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/patches-3.8/996-zsmalloc_allow_module_build.patch | 9 | ||||
-rw-r--r-- | target/linux/generic/patches-3.9/996-zsmalloc_allow_module_build.patch | 9 |
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 |