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: Seth Jennings <sjenning@linux.vnet.ibm.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a2cd62ec9a
commit
349ae79c0a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue