powernow-k8: Add a kconfig dependency on acpi-cpufreq
authorBorislav Petkov <bp@suse.de>
Thu, 17 Jan 2013 23:19:37 +0000 (00:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Jan 2013 04:49:02 +0000 (20:49 -0800)
commitac4f896a4da38ca42d2ca32d4127517df7331205
tree2a681661fb45cd7024b2c4f79521684484ceded0
parenta974118816871c9e5a1e7b837310ee1b84581c6d
powernow-k8: Add a kconfig dependency on acpi-cpufreq

commit 631e8ac18fd59722e7ceb15fceeef3f368c250f9 upstream.

Andreas reports in https://bugzilla.kernel.org/show_bug.cgi?id=51741
that with his Gentoo config, acpi-cpufreq wasn't enabled and
powernow-k8 couldn't handoff properly to acpi-cpufreq leading to
running without P-state support (i.e., cores are constantly in P0).

To alleaviate that, we need to make powernow-k8 depend on acpi-cpufreq
so that acpi-cpufreq is always present.

References: https://bugzilla.kernel.org/show_bug.cgi?id=51741
Reported-by: Andreas <linuxuser330250@gmx.net>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cpufreq/Kconfig.x86