mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-07 03:18:31 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue