提交 349ae79c 编写于 作者: S Seth Jennings 提交者: Greg Kroah-Hartman

staging: zcache: fix Kconfig crypto dependency

ZCACHE is a boolean in the Kconfig.  When selected, it
should require that CRYPTO be builtin (=y).

Currently, ZCACHE=y and CRYPTO=m is a valid configuration
when it should not be.

This patch changes the zcache Kconfig to enforce this
dependency.
Signed-off-by: NSeth Jennings <sjenning@linux.vnet.ibm.com>
Acked-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 a2cd62ec
...@@ -2,7 +2,7 @@ config ZCACHE ...@@ -2,7 +2,7 @@ config ZCACHE
bool "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=y && X86
select ZSMALLOC select ZSMALLOC
select CRYPTO_LZO select CRYPTO_LZO
default n default n
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册