CPUFreq compilation failure with current GIT.

From: Nigel Cunningham
Date: Thu Jul 12 2007 - 23:23:34 EST


Hi.

Current git compilation fails on my amd64:

CC [M] arch/x86_64/kernel/cpufreq/../../../i386/kernel/cpu/cpufreq/acpi-cpufreq.o
CC [M] arch/x86_64/kernel/cpufreq/../../../i386/kernel/cpu/cpufreq/powernow-k8.o
arch/x86_64/kernel/cpufreq/../../../i386/kernel/cpu/cpufreq/powernow-k8.c: In function 'powernowk8_init':
arch/x86_64/kernel/cpufreq/../../../i386/kernel/cpu/cpufreq/powernow-k8.c:1334: error: 'struct cpuinfo_x86' has no member named 'booted_cores'
make[2]: *** [arch/x86_64/kernel/cpufreq/../../../i386/kernel/cpu/cpufreq/powernow-k8.o] Error 1
make[1]: *** [arch/x86_64/kernel/cpufreq] Error 2
make: *** [arch/x86_64/kernel] Error 2

The following commit apparently wasn't tested on x86_64 as well:

Commit: 904f7a3f042b5c6aa9e53ce83f2c9de5e33170ff
Author: Dave Jones <davej@xxxxxxxxxx> Fri, 18 May 2007 13:22:28 -0400

[CPUFREQ] powernow-k8: clarify number of cores.

Indicate number of processors and cores more cleanly
in startup messages.

Signed-off-by: Mark Langsdorf <mark.langsdorf@xxxxxxx>
Signed-off-by: Dave Jones <davej@xxxxxxxxxx>

Regards,

Nigel

Attachment: pgp00000.pgp
Description: PGP signature