1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Force CFS in zen-kernel not specified as BFS

svn path=/nixpkgs/trunk/; revision=19557
This commit is contained in:
Michael Raskin 2010-01-20 06:24:29 +00:00
parent ef4198ec8d
commit d2795e889c
2 changed files with 7 additions and 1 deletions

View file

@ -254,4 +254,10 @@ rec {
HZ_300 y
HZ 300
'';
forceCFSched = ''
SCHED_CFS? y
SCHED_BFS? y
NO_HZ? y
'';
}

View file

@ -57,7 +57,7 @@ import ../kernel/generic.nix (
${blockDevices}
${bluetooth}
${misc}
${if stdenv.lib.attrByPath ["features" "ckSched"] false args then bfsched else ""}
${if stdenv.lib.attrByPath ["features" "ckSched"] false args then bfsched else forceCFSched}
'';
preConfigure = ''