3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
Tim Steinbach 2016-09-16 09:08:06 -04:00
parent 0ffdb89d95
commit 77e1be36b9
No known key found for this signature in database
GPG key ID: 83FF2ACAEB6C2D24

View file

@ -512,9 +512,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