Skip to contentSkip to conversation

2.6.0-test1-ac2 -- arch/ppc/platforms/pmac_cpufreq.c:179: `CPUFREQ_ALL_CPUS' undeclared (first use in this function)

DISCUSSION Miles Lane 2 participants 2 messages Jul 19, 2003

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

CC arch/ppc/platforms/pmac_cpufreq.o
arch/ppc/platforms/pmac_cpufreq.c: In function `do_set_cpu_speed':
arch/ppc/platforms/pmac_cpufreq.c:179: `CPUFREQ_ALL_CPUS' undeclared (first use in this function)

CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=y
CONFIG_CPU_FREQ_24_API=y
CONFIG_CPU_FREQ_PMAC=y

#1 lore raw
Quoted 10 lines · Miles Lane

CC arch/ppc/platforms/pmac_cpufreq.o
arch/ppc/platforms/pmac_cpufreq.c: In function `do_set_cpu_speed':
arch/ppc/platforms/pmac_cpufreq.c: 179: `CPUFREQ_ALL_CPUS' undeclared (first

use in this function)

CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=y
CONFIG_CPU_FREQ_24_API=y
CONFIG_CPU_FREQ_PMAC=y

Intermediate fix [replace CPUFREQ_ALL_CPUS with either 0 or smp_processor_id() ] for this is already in Linus' tree, important update for the pmac-cpufreq driver is in benh's tree and will hopefully be pushed to Linus tree soon.

Dominik