Re: [PATCH] undefined reference to`acpi_processor_register_performance

From: Randy.Dunlap
Date: Fri Jun 18 2004 - 10:52:45 EST


On Fri, 18 Jun 2004 12:25:49 +0100 Dave Jones wrote:

| On Thu, Jun 17, 2004 at 09:58:12PM -0700, Randy.Dunlap wrote:
| >
| > Several CPU_FREQ options need ACPI_PROCESSOR interfaces
| > to build.
|
| Hmm, it should be optional. Ie, if you don't have ACPI enabled,
| you should still be able to use these drivers (the k7 one at least),
| you just won't be able to use the ACPI fallback.

Hm, I see what you mean, but how do we handle source files that
call an optional kernel API (depending on CONFIG_xyz)?

IOW, building a cpufreq driver in-kernel that wants to call
acpi_processor_register_performance(), where CONFIG_ACPI_PROCESSOR=m,
needs to be prevented....

--
~Randy
-
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/