compilation error in linus git tree

From: Peter Teoh
Date: Mon Mar 30 2009 - 12:02:19 EST


just git pulled and compiled with the following errors:

CC [M] arch/x86/kernel/cpu/cpufreq/speedstep-lib.o
CC [M] arch/x86/kernel/cpu/cpufreq/p4-clockmod.o
arch/x86/kernel/cpu/cpufreq/p4-clockmod.c: In function ‘cpufreq_p4_cpu_init’:
arch/x86/kernel/cpu/cpufreq/p4-clockmod.c:232: error: implicit
declaration of function ‘recalibrate_cpu_khz’
make[3]: *** [arch/x86/kernel/cpu/cpufreq/p4-clockmod.o] Error 1
make[2]: *** [arch/x86/kernel/cpu/cpufreq] Error 2
make[1]: *** [arch/x86/kernel/cpu] Error 2
make: *** [arch/x86/kernel] Error 2

not sure where is the best place to put this, but the error is resolved via

extern int recalibrate_cpu_khz(void);

inside the file:

arch/x86/kernel/cpu/cpufreq/p4-clockmod.c

thanks.

--
Regards,
Peter Teoh
--
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/