Commit bec25dfd authored by Seth Jennings's avatar Seth Jennings Committed by Greg Kroah-Hartman
Browse files

staging: zcache: make zcache builtin only



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: default avatarSeth Jennings <sjenning@linux.vnet.ibm.com>
Acked-by: default avatarDan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4fee7e16
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
config ZCACHE
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
	# X86 dependency is because zsmalloc uses non-portable pte/tlb
	# functions
	# functions
	depends on (CLEANCACHE || FRONTSWAP) && CRYPTO && X86
	depends on (CLEANCACHE || FRONTSWAP) && CRYPTO && X86