]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
cpuidle: Don't enable all governors by default
authorJean Delvare <jdelvare@suse.de>
Mon, 11 Jan 2016 16:43:02 +0000 (17:43 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 Jan 2016 21:39:58 +0000 (22:39 +0100)
Since commit d6f346f2d2 (cpuidle: improve governor Kconfig options)
the best cpuidle governor is selected automatically. There is little
point in additionally selecting the other one as it will not be used,
so don't select both governors by default.

Being able to select more than one governor is still good for
developers booting with cpuidle_sysfs_switch, though.

This fixes the second half of kernel BZ #65531.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=65531
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/Kconfig

index 8c7930b5a65fabaa3ae58c8a2224ed056e1fc95f..7e48eb5bf0a7a1aebb958157c38a0d6b1228a437 100644 (file)
@@ -19,11 +19,9 @@ config CPU_IDLE_MULTIPLE_DRIVERS
 
 config CPU_IDLE_GOV_LADDER
        bool "Ladder governor (for periodic timer tick)"
-       default y
 
 config CPU_IDLE_GOV_MENU
        bool "Menu governor (for tickless system)"
-       default y
 
 config DT_IDLE_STATES
        bool