Re: [PATCH 2/3] ACPI: do not define acpi_processor_get_bios_limit()in processor.h

From: Dave Jones
Date: Tue Nov 17 2009 - 19:56:23 EST


On Tue, Nov 17, 2009 at 03:11:25PM -0700, Alex Chiang wrote:
> If we provide a definition for acpi_processor_get_bios_limit(), we will
> encounter build errors (multiple definitions of the function) when we
> do not have CONFIG_CPU_FREQ configured.
>
> We've already changed the modules that depend on this function to only
> get built when CONFIG_CPU_FREQ is configured, so removing the definition
> when unconfigured is safe.
>
> Cc: Thomas Renninger <trenn@xxxxxxx>
> Cc: Len Brown <lenb@xxxxxxxxxx>
> Signed-off-by: Alex Chiang <achiang@xxxxxx>
> ---
>
> include/acpi/processor.h | 5 -----
> 1 files changed, 0 insertions(+), 5 deletions(-)

There's 2-3 other fixes pending for the bios_limit patch.
For now, I've dropped it from cpufreq.next, until Thomas sends
a rediffed version with the compilation problems fixed.

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/