Added some more kernel options advised by PowerTOP.

svn path=/nixpkgs/trunk/; revision=9373
This commit is contained in:
Michael Raskin 2007-09-26 03:13:37 +00:00
parent 8036507a29
commit dd9777e091

View File

@ -2788,7 +2788,23 @@ rec {
extraConfig = "CONFIG_TIMER_STATS=y\n";
}
] else [])
++
(if (getConfig ["kernel" "usb_suspend"] false) then [
{
name = "Enable-USB_SUSPEND";
patch = ../lib/empty.file;
extraConfig = "CONFIG_USB_SUSPEND=y\n";
}
] else [])
++
(if (getConfig ["kernel" "no_irqbalance"] false) then [
{
name = "Disable-IRQBALANCE";
patch = ../lib/empty.file;
extraConfig = "# CONFIG_IRQBALANCE is not set\n";
}
] else [])
;
};