2003-02-06 21:26:42

by Rusty Lynch

[permalink] [raw]
Subject: [PATCH][TRIVIAL] ACPI_PROCESSOR depends on CPU_FREQ

After pulling from Linus's tree my build broke while attempting to
compile drivers/acpi/processor.c because cpufreq_get_policy() and
cpufreq_set_policy() were not defined.

Here is a quick Kconfig fix.

--rustyl

--- drivers/acpi/Kconfig.orig 2003-02-06 13:29:24.000000000 -0800
+++ drivers/acpi/Kconfig 2003-02-06 13:31:01.000000000 -0800
@@ -110,6 +110,7 @@

config ACPI_PROCESSOR
tristate "Processor"
+ depends on CPU_FREQ
depends on IA64 && !IA64_HP_SIM || X86 && ACPI && !ACPI_HT_ONLY
help
This driver installs ACPI as the idle handler for Linux, and uses




2003-02-06 21:45:38

by Rusty Lynch

[permalink] [raw]
Subject: Re: [PATCH][TRIVIAL] ACPI_PROCESSOR depends on CPU_FREQ

On Thu, 2003-02-06 at 13:46, [email protected] wrote:
> I think that this: http://linus.bkbits.net:8080/linux-
> 2.5/diffs/drivers/acpi/[email protected]?nav=index.html|ChangeSet@-
> 1d|[email protected] might be the real fix you are looking for which was commited
> not long ago.
>
> Jordan

yep, the next changeset fixes this.

--rustyl

> > After pulling from Linus's tree my build broke while attempting to
> > compile drivers/acpi/processor.c because cpufreq_get_policy() and
> > cpufreq_set_policy() were not defined.
> >
> > Here is a quick Kconfig fix.
> >
> > --rustyl