Subject: Re: linux-next: Tree for November 12 (acpi_processor_get_bios_limit)

From: Randy Dunlap <[email-masked]>
Date: Thu, 12 Nov 2009 10:09:56 -0800

On Thu, 12 Nov 2009 09:40:12 -0800 Randy Dunlap wrote:

> On Thu, 12 Nov 2009 19:51:01 +1100 Stephen Rothwell wrote:
> 
> > Hi all,
> > 
> > Changes since 20091111:
> > 
> > The cpufreq tree gained a conflict against the acpi tree.
> 
> when CONFIG_CPU_FREQ=n:
> 
> arch/x86/kernel/acpi/processor.o: In function `acpi_processor_get_bios_limit':
> (.text+0x0): multiple definition of `acpi_processor_get_bios_limit'
> arch/x86/kernel/acpi/cstate.o:(.text+0x0): first defined here
> 
> 
> The function definition in include/apci/procssor.h needs to be "static inline"
> at line 323.

---
however, even with that fixed, when

CONFIG_CPU_FREQ=y
CONFIG_ACPI=n
CONFIG_SFI=y
CONFIG_APM=y

there is this build error:

arch/x86/kernel/cpu/cpufreq/powernow-k7.c:720: error: 'acpi_processor_get_bios_limit' undeclared here (not in a function)

---
~Randy