From: Ingo Molnar <mingo@elte.hu>
To: Jianjun Kong <jianjun@zeuux.org>
Cc: Linux-Kernel-Mailing-List <linux-kernel@vger.kernel.org>,
mingo@redhat.com
Subject: Re: v2.6.28-rc7: Fail compile arch/x86/kernel/cpu/common.c
Date: Wed, 3 Dec 2008 12:47:48 +0100 [thread overview]
Message-ID: <20081203114748.GB19664@elte.hu> (raw)
In-Reply-To: <20081203112725.GA6822@ubuntu>
* Jianjun Kong <jianjun@zeuux.org> wrote:
> On Wed, Dec 03, 2008 at 08:35:04AM +0100, Ingo Molnar wrote:
> >* Jianjun Kong <jianjun@zeuux.org> 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:
$ cat arch/x86/kernel/cpu/common.c
[...]
#include <asm/smp.h>
combined with:
> $ cat arch/x86/include/asm/smp.h
>
> #ifndef _ASM_X86_SMP_H
> #define _ASM_X86_SMP_H
> #ifdef CONFIG_X86_HAS_BOOT_CPU_ID
> extern unsigned char boot_cpu_id;
> #else
> #define boot_cpu_id 0
> #endif
>
> #endif /* __ASSEMBLY__ */
> #endif /* _ASM_X86_SMP_H */
how can this not build? Do you have __ASSEMBLY__ defined in your CFLAGS
perhaps?
Ingo
next prev parent reply other threads:[~2008-12-03 11:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 7:01 Jianjun Kong
2008-12-03 7:35 ` Ingo Molnar
2008-12-03 11:27 ` Jianjun Kong
2008-12-03 11:47 ` Ingo Molnar [this message]
2008-12-03 15:22 ` Jianjun Kong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081203114748.GB19664@elte.hu \
--to=mingo@elte.hu \
--cc=jianjun@zeuux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®