2.6.0-test1-ac3 and PPC

From: Wojciech \ (cieciwa@alpha.zarz.agh.edu.pl)
Date: Thu Jul 24 2003 - 08:42:26 EST


Hi,
I try to build 2.6.0-test1-ac3 on PPC

in .config I have:

CONFIG_SMP=y
CONFIG_IRQ_ALL_CPUS=y
CONFIG_NR_CPUS=32
# CONFIG_ALTIVEC is not set
CONFIG_TAU=y
# CONFIG_TAU_INT is not set
# CONFIG_TAU_AVERAGE is not set
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=y
CONFIG_CPU_FREQ_24_API=y
CONFIG_CPU_FREQ_PMAC=y

and I got error:
  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:180: error: `CPUFREQ_ALL_CPUS' undeclared (first use in this function)
arch/ppc/platforms/pmac_cpufreq.c:180: error: (Each undeclared identifier is reported only once
arch/ppc/platforms/pmac_cpufreq.c:180: error: for each function it appears in.)
make[1]: *** [arch/ppc/platforms/pmac_cpufreq.o] Błąd 1
make: *** [arch/ppc/platforms] Błąd 2

I solve this with included patch.

Please check and applay.

Thanx.
                                        Sas.
P.S.
In file include/asm-ppc/smp.h is missing line:
#include <inclide/threads.h>

-- 
{Wojciech 'Sas' Cieciwa}  {Member of PLD Team                               }
{e-mail: cieciwa@alpha.zarz.agh.edu.pl, http://www2.zarz.agh.edu.pl/~cieciwa}


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:22 EST