From 9bc94a4f187619608e402f4007cd52c124048c57 Mon Sep 17 00:00:00 2001 From: jogo Date: Thu, 9 May 2013 19:19:36 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36587 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../generic/patches-3.8/996-zsmalloc_allow_module_build.patch | 9 +++++++++ .../generic/patches-3.9/996-zsmalloc_allow_module_build.patch | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 target/linux/generic/patches-3.8/996-zsmalloc_allow_module_build.patch create mode 100644 target/linux/generic/patches-3.9/996-zsmalloc_allow_module_build.patch (limited to 'target') 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 -- cgit v1.2.3