kernel-common: Add ZBUD, move ZSMALLOC into module space

(cherry picked from commit 77e1be36b9)
This commit is contained in:
Tim Steinbach
2016-09-16 09:08:06 -04:00
committed by Nikolay Amiantov
parent 135d6f2aa6
commit d24dc8c1d2

View File

@@ -505,9 +505,15 @@ with stdenv.lib;
TRANSPARENT_HUGEPAGE_MADVISE? y
# zram support (e.g for in-memory compressed swap).
ZSMALLOC y
ZRAM m
ZSWAP? y
ZBUD? y
${optionalString (versionOlder version "3.18") ''
ZSMALLOC y
''}
${optionalString (versionAtLeast version "3.18") ''
ZSMALLOC m
''}
# Enable PCIe and USB for the brcmfmac driver
BRCMFMAC_USB? y