diff options
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2012-06-25 12:14:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-25 13:00:53 -0400 |
commit | 6e2361720b9da9ec830d407da058ca1827e62b12 (patch) | |
tree | 55784e308ad7076183d389c6a9fb722601445a9a /drivers/staging/zcache | |
parent | c90e3e80b9751335cc98934ae32188fa7de6bccd (diff) |
staging: zram/zcache: swtich Kconfig dependency from X86 to ZSMALLOC
This patch switches zcache and zram dependency to ZSMALLOC
rather than X86. There is no net change since ZSMALLOC
depends on X86, however, this prevent further changes to
these files as zsmalloc dependencies change.
Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/zcache')
-rw-r--r-- | drivers/staging/zcache/Kconfig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/zcache/Kconfig b/drivers/staging/zcache/Kconfig index 7048e01f081..4881839be62 100644 --- a/drivers/staging/zcache/Kconfig +++ b/drivers/staging/zcache/Kconfig | |||
@@ -1,9 +1,6 @@ | |||
1 | config ZCACHE | 1 | config ZCACHE |
2 | bool "Dynamic compression of swap pages and clean pagecache pages" | 2 | bool "Dynamic compression of swap pages and clean pagecache pages" |
3 | # X86 dependency is because zsmalloc uses non-portable pte/tlb | 3 | depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && ZSMALLOC=y |
4 | # functions | ||
5 | depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && X86 | ||
6 | select ZSMALLOC | ||
7 | select CRYPTO_LZO | 4 | select CRYPTO_LZO |
8 | default n | 5 | default n |
9 | help | 6 | help |