diff options
author | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-09 19:19:36 +0000 |
---|---|---|
committer | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-09 19:19:36 +0000 |
commit | 9bc94a4f187619608e402f4007cd52c124048c57 (patch) | |
tree | 58a2d8e243e995637b9b9dadb53f5af71b7de8ac /target/linux | |
parent | b4b98da6d7898fafcf0d44309101e67acd188966 (diff) |
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.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 000000000..eaa9fc60e --- /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 000000000..eaa9fc60e --- /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 |