Skip to contentSkip to conversation

fix powernow-k8 compilation [bug 3180]

PATCH In review Dominik Brodowski 2 participants 2 messages Aug 11, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix powernow-k8 compilation [bug 3180]

Propagate the new CONFIG_X86_POWERNOW_K8_ACPI to powernow-k8.h to avoid compile breakage. Fixes bug 3180.

arch/i386/kernel/cpu/cpufreq/powernow-k8.h +1 -1
@@ -29,7 +29,7 @@
 	 * frequency is in kHz */
 	struct cpufreq_frequency_table  *powernow_table;
 
-#if defined(CONFIG_ACPI_PROCESSOR) || defined(CONFIG_ACPI_PROCESSOR_MODULE)
+#ifdef CONFIG_X86_POWERNOW_K8_ACPI
 	/* the acpi table needs to be kept. it's only available if ACPI was
 	 * used to determine valid frequency/vid/fid states */
 	struct acpi_processor_performance acpi_data;
#1 lore raw
Quoted 4 lines · Dominik Brodowski

Propagate the new CONFIG_X86_POWERNOW_K8_ACPI to powernow-k8.h to avoid compile breakage. Fixes bug 3180.

Argh, hopefully this is the last of these CONFIG*ACPI changes. I'm tired of getting deja-vu every time I see one 8-)

Thanks,

Dave