Re: 2.6.11-mm4

From: Sean Neakums
Date: Wed Mar 16 2005 - 17:52:14 EST


Fails to build here:

arch/ppc/platforms/built-in.o(.pmac.text+0x6828): In function `flush_disable_caches':
: undefined reference to `cpufreq_frequency_table_verify'
arch/ppc/platforms/built-in.o(.pmac.text+0x6868): In function `flush_disable_caches':
: undefined reference to `cpufreq_frequency_table_target'
arch/ppc/platforms/built-in.o(.pmac.text+0x68f0): In function `flush_disable_caches':
: undefined reference to `cpufreq_frequency_table_cpuinfo'
make: *** [.tmp_vmlinux1] Error 1


This patch makes it work again; there are duplicate CPU_FREQ_TABLE
definitions in some arch Kconfigs. Possibly not the Right Thing(tm).

[briny(~/build/linux/S11-mm4)] find arch/ -name Kconfig | xargs grep '^config CPU_FREQ_TABLE'
arch/sparc64/Kconfig:config CPU_FREQ_TABLE
arch/sh/Kconfig:config CPU_FREQ_TABLE
arch/ppc/Kconfig:config CPU_FREQ_TABLE
arch/x86_64/kernel/cpufreq/Kconfig:config CPU_FREQ_TABLE


--- S11-mm4/drivers/cpufreq/Kconfig~ 2005-03-16 22:12:52.000000000 +0000
+++ S11-mm4/drivers/cpufreq/Kconfig 2005-03-16 22:37:59.000000000 +0000
@@ -15,9 +15,6 @@

if CPU_FREQ

-config CPU_FREQ_TABLE
- def_tristate m
-
config CPU_FREQ_DEBUG
bool "Enable CPUfreq debugging"
help

--
Dag vijandelijk luchtschip de huismeester is dood
-
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/