mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 08:35:04 +0100	[thread overview]
Message-ID: <20081203073504.GB17580@elte.hu> (raw)
In-Reply-To: <20081203070115.GA32403@ubuntu>


* 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)
> arch/x86/kernel/cpu/common.c:555: error: (Each undeclared identifier is
> reported only once
> arch/x86/kernel/cpu/common.c:555: error: for each function it appears
> in.)
> arch/x86/kernel/cpu/common.c: In function ‘cpu_init’:
> arch/x86/kernel/cpu/common.c:1142: error: ‘boot_cpu_id’ undeclared
> (first use in this function)
> make[2]: *** [arch/x86/kernel/cpu/common.o] Error 1
> make[1]: *** [arch/x86/kernel/cpu] Error 2
> make: *** [arch/x86/kernel] Error 2

i cannot reproduce this build error neither with v2.6.28-rc7 nor 
with latest -git (commit f6f7b52), using your config.

could you send me your arch/x86/include/asm/smp.h file? Could 
you also double-check that you have the kernel source tree 
checked out properly? If you track it as a remote as per:

  http://people.redhat.com/mingo/tip.git/README

then doing "git checkout linus/master" should succeed without 
any errors beyond the warning that it is a remote branch:

 ~/tip> git checkout linus/master
 Note: moving to "linus/master" which isn't a local branch
 If you want to create a new branch from this checkout, you may do so
 (now or later) by using -b with the checkout command again. 
 Example:
   git checkout -b <new_branch_name>
 HEAD is now at f6f7b52... Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
 ~/tip>

	Ingo

  reply	other threads:[~2008-12-03  7:35 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 [this message]
2008-12-03 11:27   ` Jianjun Kong
2008-12-03 11:47     ` Ingo Molnar
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=20081203073504.GB17580@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®