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.oarch/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
Signature · 1 line
Pete Clements
Quoted 11 lines · Pete Clements
Fyi
2.6.28-rc2-git fails compile, uniprocessor x86. (Missed git4 and git5.)CC
arch/x86/kernel/cpu/common.oarch/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 oncearch/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
Signature · 4 lines
Jianjun Kong | Happy Hacking HomePage: http://kongove.cn Gtalk: [email protected] Hope is good thing, maybe the best of things, and no good thing ever dies.
Quoted 13 lines · Jianjun Kong
Quoted 11 lines · Pete Clements
Fyi
2.6.28-rc2-git fails compile, uniprocessor x86. (Missed git4 and git5.)CC
arch/x86/kernel/cpu/common.oarch/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 oncearch/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
Quoted 2 lines
'
boot_cpu_id' only defined at this headfile(include/linux/smp_32.h)
See http://lkml.org/lkml/2008/10/30/531
Jianjun
Signature · 4 lines
Jianjun Kong | Happy Hacking HomePage: http://kongove.cn Gtalk: [email protected] Hope is good thing, maybe the best of things, and no good thing ever dies.