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

From: Jianjun Kong
Date: Sat Nov 01 2008 - 03:48:06 EST


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@xxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/