mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #18661 from NeQuissimus/kernel/zbud
kernel-common: Add ZBUD
This commit is contained in:
commit
ea4d517eb8
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue