mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
kernel-common: Add ZBUD, move ZSMALLOC into module space
(cherry picked from commit 77e1be36b9)
This commit is contained in:
committed by
Nikolay Amiantov
parent
135d6f2aa6
commit
d24dc8c1d2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user