public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CONFIG_PM=n, CONFIG_ACPI_PROCESSOR=y breakage
@ 2007-07-19  8:56 Alexey Dobriyan
  2007-07-20  8:17 ` [2.6.23 regression fix] X86_POWERNOW_K8_ACPI must depend on ACPI Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2007-07-19  8:56 UTC (permalink / raw)
  To: linux-kernel; +Cc: lenb

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'
	...


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6.23 regression fix] X86_POWERNOW_K8_ACPI must depend on ACPI
  2007-07-19  8:56 CONFIG_PM=n, CONFIG_ACPI_PROCESSOR=y breakage Alexey Dobriyan
@ 2007-07-20  8:17 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-07-20  8:17 UTC (permalink / raw)
  To: Alexey Dobriyan, Joshua Hoblitt, Dave Jones
  Cc: linux-kernel, lenb, cpufreq, Michal Piotrowski

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.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.22-rc6-mm1/arch/i386/kernel/cpu/cpufreq/Kconfig.old	2007-07-19 15:06:47.000000000 +0200
+++ linux-2.6.22-rc6-mm1/arch/i386/kernel/cpu/cpufreq/Kconfig	2007-07-19 15:07:07.000000000 +0200
@@ -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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-20  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-19  8:56 CONFIG_PM=n, CONFIG_ACPI_PROCESSOR=y breakage Alexey Dobriyan
2007-07-20  8:17 ` [2.6.23 regression fix] X86_POWERNOW_K8_ACPI must depend on ACPI Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox