staging: fix powerpc linux-next break on zsmalloc
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / staging / zsmalloc / Kconfig
index 3e7a8d4..8e2c6a0 100644 (file)
@@ -1,6 +1,9 @@
 config ZSMALLOC
        tristate "Memory allocator for compressed pages"
-       depends on SPARSEMEM
+       # X86 dependency is because of the use of __flush_tlb_one and set_pte
+       # in zsmalloc-main.c.
+       # TODO: convert these to portable functions
+       depends on SPARSEMEM && X86
        default n
        help
          zsmalloc is a slab-based memory allocator designed to store