Skip to content

Commit

Permalink
staging: zcache: make zcache builtin only
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Seth Jennings authored and Greg Kroah-Hartman committed Mar 7, 2012
1 parent 4fee7e1 commit bec25df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/zcache/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit bec25df

Please sign in to comment.