2.6.0-test1-ac3 and PPC

From: Wojciech \ (cieciwa_at_alpha.zarz.agh.edu.pl)
Date: 07/24/03

  • Next message: Samium Gromoff: "Re: [IDE] 2.6.0-test1: (__ide_dma_test_irq) called while not waiting"
    Date:	Thu, 24 Jul 2003 13:42:26 +0000 (UTC)
    To: linux-kernel <linux-kernel@vger.kernel.org>
    
    
    

    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/



  • Next message: Samium Gromoff: "Re: [IDE] 2.6.0-test1: (__ide_dma_test_irq) called while not waiting"

    Relevant Pages