Commit b76dee4a410c8c2732b2073bf9d280c1d16923ed

Authored by Seth Jennings
Committed by Greg Kroah-Hartman
1 parent b9ed4f6c9a

staging: zsmalloc: remove SPARSEMEM dep from Kconfig

This patch removes the SPARSEMEM from the zsmalloc
Kconfig

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Acked-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Showing 1 changed file with 1 additions and 1 deletions Inline Diff

drivers/staging/zsmalloc/Kconfig
1 config ZSMALLOC 1 config ZSMALLOC
2 tristate "Memory allocator for compressed pages" 2 tristate "Memory allocator for compressed pages"
3 # X86 dependency is because of the use of __flush_tlb_one and set_pte 3 # X86 dependency is because of the use of __flush_tlb_one and set_pte
4 # in zsmalloc-main.c. 4 # in zsmalloc-main.c.
5 # TODO: convert these to portable functions 5 # TODO: convert these to portable functions
6 depends on SPARSEMEM && X86 6 depends on X86
7 default n 7 default n
8 help 8 help
9 zsmalloc is a slab-based memory allocator designed to store 9 zsmalloc is a slab-based memory allocator designed to store
10 compressed RAM pages. zsmalloc uses virtual memory mapping 10 compressed RAM pages. zsmalloc uses virtual memory mapping
11 in order to reduce fragmentation. However, this results in a 11 in order to reduce fragmentation. However, this results in a
12 non-standard allocator interface where a handle, not a pointer, is 12 non-standard allocator interface where a handle, not a pointer, is
13 returned by an alloc(). This handle must be mapped in order to 13 returned by an alloc(). This handle must be mapped in order to
14 access the allocated space. 14 access the allocated space.
15 15