diff mbox

[Precise,2/2] staging: zcache: make zcache builtin only

Message ID 2c4a062226322cc51f7111fce9238472130ba9e6.1336456221.git.jesse.sung@canonical.com
State New
Headers show

Commit Message

Wen-chien Jesse Sung May 8, 2012, 7:19 a.m. UTC
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 <sjenning@linux.vnet.ibm.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(backported from commit bec25dfd850cf92cba894c94d6660fc18d3a7447 upstream)
Signed-off-by: Jesse Sung <jesse.sung@canonical.com>
---
 drivers/staging/zcache/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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