]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: zcache: make zcache builtin only
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Mon, 5 Mar 2012 16:46:38 +0000 (10:46 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Mar 2012 21:30:17 +0000 (13:30 -0800)
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>
drivers/staging/zcache/Kconfig

index 5a36fcfd87c00e08c0454e73262be882022d3146..3ed2c8f656a52d8ce46eae00e6ff908314a507fa 100644 (file)
@@ -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"
        # X86 dependency is because zsmalloc uses non-portable pte/tlb
        # functions
        depends on (CLEANCACHE || FRONTSWAP) && CRYPTO && X86