Skip to contentSkip to conversation

ACPI_PROCESSOR depends on CPU_FREQ

PATCH New Rusty Lynch 1 participant 1 message Feb 6, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI_PROCESSOR depends on CPU_FREQ

After pulling from Linus's tree my build broke while attempting to compile drivers/acpi/processor.c because cpufreq_get_policy() and cpufreq_set_policy() were not defined.

Here is a quick Kconfig fix.

--rustyl

acpi/Kconfig renamed from acpi/Kconfig.orig +1 -0
@@ -110,6 +110,7 @@
 
 config ACPI_PROCESSOR
 	tristate "Processor"
+	depends on CPU_FREQ
 	depends on IA64 && !IA64_HP_SIM || X86 && ACPI && !ACPI_HT_ONLY
 	help
 	  This driver installs ACPI as the idle handler for Linux, and uses