From patchwork Tue May 8 07:19:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Precise,2/2] staging: zcache: make zcache builtin only Date: Mon, 07 May 2012 21:19:52 -0000 From: Jesse Sung X-Patchwork-Id: 157563 Message-Id: <2c4a062226322cc51f7111fce9238472130ba9e6.1336456221.git.jesse.sung@canonical.com> To: kernel-team@lists.ubuntu.com Cc: 995163@bugs.launchpad.net BugLink: http://bugs.launchpad.net/bugs/995163 zcache cannot currently be loaded as a module. However the Kconfig allows it to be built as a module; something that the user probably does not intend since the module is not loadable. This patch switches zcache from a tristate to a bool in the Kconfig Signed-off-by: Seth Jennings Acked-by: Dan Magenheimer Signed-off-by: Greg Kroah-Hartman (backported from commit bec25dfd850cf92cba894c94d6660fc18d3a7447 upstream) Signed-off-by: Jesse Sung --- drivers/staging/zcache/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/zcache/Kconfig b/drivers/staging/zcache/Kconfig index 7fabcb2..391d5f4 100644 --- a/drivers/staging/zcache/Kconfig +++ b/drivers/staging/zcache/Kconfig @@ -1,5 +1,5 @@ config ZCACHE - tristate "Dynamic compression of swap pages and clean pagecache pages" + bool "Dynamic compression of swap pages and clean pagecache pages" depends on CLEANCACHE || FRONTSWAP select XVMALLOC select LZO_COMPRESS