2.6.28-rc2-git6 fails compile -- cpu/common.c - Kernel

This is a discussion on 2.6.28-rc2-git6 fails compile -- cpu/common.c - Kernel ; Fyi 2.6.28-rc2-git fails compile, uniprocessor x86. (Missed git4 and git5.) CC arch/x86/kernel/cpu/common.o arch/x86/kernel/cpu/common.c: In function 'cpu_init': arch/x86/kernel/cpu/common.c:1141: error: 'boot_cpu_id' undeclared (first use in this function) arch/x86/kernel/cpu/common.c:1141: error: (Each undeclared identifier is reported only once arch/x86/kernel/cpu/common.c:1141: error: for each function it ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: 2.6.28-rc2-git6 fails compile -- cpu/common.c

  1. 2.6.28-rc2-git6 fails compile -- cpu/common.c

    Fyi
    2.6.28-rc2-git fails compile, uniprocessor x86. (Missed git4 and git5.)

    CC arch/x86/kernel/cpu/common.o
    arch/x86/kernel/cpu/common.c: In function 'cpu_init':
    arch/x86/kernel/cpu/common.c:1141: error: 'boot_cpu_id' undeclared (first use in this function)
    arch/x86/kernel/cpu/common.c:1141: error: (Each undeclared identifier is reported only once
    arch/x86/kernel/cpu/common.c:1141: error: for each function it appears in.)
    make[2]: *** [arch/x86/kernel/cpu/common.o] Error 1
    make[1]: *** [arch/x86/kernel/cpu] Error 2
    make: *** [arch/x86/kernel] Error 2

    --
    Pete Clements
    --
    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/

  2. Re: 2.6.28-rc2-git6 fails compile -- cpu/common.c

    On Fri, Oct 31, 2008 at 10:50:53PM -0400, Pete Clements wrote:
    >Fyi
    >2.6.28-rc2-git fails compile, uniprocessor x86. (Missed git4 and git5.)
    >
    > CC arch/x86/kernel/cpu/common.o
    >arch/x86/kernel/cpu/common.c: In function 'cpu_init':
    >arch/x86/kernel/cpu/common.c:1141: error: 'boot_cpu_id' undeclared (first use in this function)
    >arch/x86/kernel/cpu/common.c:1141: error: (Each undeclared identifier is reported only once
    >arch/x86/kernel/cpu/common.c:1141: error: for each function it appears in.)
    >make[2]: *** [arch/x86/kernel/cpu/common.o] Error 1
    >make[1]: *** [arch/x86/kernel/cpu] Error 2
    >make: *** [arch/x86/kernel] Error 2


    'boot_cpu_id' only defined at this head file(include/linux/smp_32.h)


    Jianjun
    --
    Jianjun Kong | Happy Hacking
    HomePage: http://kongove.cn
    Gtalk: kongjianjun@gmail.com
    Hope is good thing, maybe the best of things, and no good thing ever dies.
    --
    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/

  3. Re: 2.6.28-rc2-git6 fails compile -- cpu/common.c

    On Sat, Nov 01, 2008 at 03:31:56PM +0800, Jianjun Kong wrote:
    >On Fri, Oct 31, 2008 at 10:50:53PM -0400, Pete Clements wrote:
    >>Fyi
    >>2.6.28-rc2-git fails compile, uniprocessor x86. (Missed git4 and git5.)
    >>
    >> CC arch/x86/kernel/cpu/common.o
    >>arch/x86/kernel/cpu/common.c: In function 'cpu_init':
    >>arch/x86/kernel/cpu/common.c:1141: error: 'boot_cpu_id' undeclared (first use in this function)
    >>arch/x86/kernel/cpu/common.c:1141: error: (Each undeclared identifier is reported only once
    >>arch/x86/kernel/cpu/common.c:1141: error: for each function it appears in.)
    >>make[2]: *** [arch/x86/kernel/cpu/common.o] Error 1
    >>make[1]: *** [arch/x86/kernel/cpu] Error 2
    >>make: *** [arch/x86/kernel] Error 2

    >
    >'boot_cpu_id' only defined at this head file(include/linux/smp_32.h)
    >


    See http://lkml.org/lkml/2008/10/30/531

    Jianjun
    --
    Jianjun Kong | Happy Hacking
    HomePage: http://kongove.cn
    Gtalk: kongjianjun@gmail.com
    Hope is good thing, maybe the best of things, and no good thing ever dies.
    --
    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/

+ Reply to Thread