Re: v2.6.28-rc7: Fail compile arch/x86/kernel/cpu/common.c

From: Jianjun Kong
Date: Wed Dec 03 2008 - 10:22:49 EST

On Wed, Dec 03, 2008 at 12:47:48PM +0100, Ingo Molnar wrote:
>* Jianjun Kong <jianjun@xxxxxxxxx> wrote:

>> >> arch/x86/kernel/cpu/common.c: In function âearly_identify_cpuâ:
>> >> arch/x86/kernel/cpu/common.c:555: error: âboot_cpu_idâ undeclared (first
>> >> use in this function)
>the error message is not consistent with what the code does:

>how can this not build? Do you have __ASSEMBLY__ defined in your CFLAGS

When I compile the code with another system(Fedora).There is another error
"include/asm is a directory but a symlink was expected". I think there maybe a file problem :<

So I remove the include directory, and update the code. Then I can compile it rightly :)

Sorry for disturbande.

Jianjun Kong | Happy Hacking
GTALK: kongjianjun@xxxxxxxxx
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at