diff mbox

[-next] x86/cpufreq: don't use acpi_processor_get_bios_limit when not available

Message ID 20091116153242.3c194a5a.randy.dunlap@oracle.com (mailing list archive)
State RFC, archived
Headers show

Commit Message

Randy Dunlap Nov. 16, 2009, 11:32 p.m. UTC
None
diff mbox

Patch

--- linux-next-20091113.orig/arch/x86/kernel/cpu/cpufreq/powernow-k7.c
+++ linux-next-20091113/arch/x86/kernel/cpu/cpufreq/powernow-k7.c
@@ -717,7 +717,9 @@  static struct cpufreq_driver powernow_dr
 	.verify		= powernow_verify,
 	.target		= powernow_target,
 	.get		= powernow_get,
+#ifdef CONFIG_X86_POWERNOW_K7_ACPI
 	.bios_limit	= acpi_processor_get_bios_limit,
+#endif
 	.init		= powernow_cpu_init,
 	.exit		= powernow_cpu_exit,
 	.name		= "powernow-k7",