Skip to contentSkip to conversation

CONFIG_PM=n, CONFIG_ACPI_PROCESSOR=y breakage

DISCUSSION Alexey Dobriyan 2 participants 2 messages Jul 19, 2007 – Jul 20, 2007

lore
Share & tools
lore
#0 lore raw

make randconfig generated such config, or you can DYI via

a) make allyesconfig
b) make menuconfig
c) go straight to Power Management, turn it off
d) exit immediately, save .config

CC arch/i386/kernel/acpi/cstate.o
In file included from arch/i386/kernel/acpi/cstate.c:17:
include/acpi/processor.h:88: error: expected specifier-qualifier-list before 'acpi_integer'

	...
#1 lore raw

[2.6.23 regression fix] X86_POWERNOW_K8_ACPI must depend on ACPI

This patch fixes the following compile error introduced by commit e8666b2718fdb5bf0ea7c3126f7e292bbbf2946b and reported by Alexey Dobriyan:

<-- snip -->

CC arch/i386/kernel/acpi/cstate.o
In file included from arch/i386/kernel/acpi/cstate.c:17:
include/acpi/processor.h:88: error: expected specifier-qualifier-list before 'acpi_integer'

<-- snip -->

If you select something you must ensure that the dependencies of what you are selecting are fulfilled.

---

arch/i386/kernel/cpu/cpufreq/Kconfig renamed from arch/i386/kernel/cpu/cpufreq/Kconfig.old +1 -1
@@ -92,7 +92,7 @@
 config X86_POWERNOW_K8_ACPI
 	bool "ACPI Support"
 	select ACPI_PROCESSOR
-	depends on X86_POWERNOW_K8
+	depends on ACPI && X86_POWERNOW_K8
 	default y
 	help
 	  This provides access to the K8s Processor Performance States via ACPI.