This commit is contained in:
LavaDesu 2021-06-28 09:36:05 +07:00
parent dfc2cdbd89
commit df5bfd14d6
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -140,8 +140,8 @@ let
base = mapBoolToKernel false (builtins.map (e: "RQ_${lib.toUpper e}") types);
in
if (scheduler == "muqss") then
if (builtins.elem type types)
then base // { "RQ_${lib.toUpper type}" = yes; }
if (builtins.elem runqueueSharing types)
then base // { "RQ_${lib.toUpper runqueueSharing}" = yes; }
else throw "Unknown runqueueSharing type"
else {};