All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cong Wang <amwang@redhat.com>
To: David Howells <dhowells@redhat.com>
Cc: torvalds@osdl.org, akpm@linux-foundation.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fix linux/smp.h to include linux/init.h
Date: Thu, 24 Mar 2011 09:31:03 +0800	[thread overview]
Message-ID: <4D8A9ED7.5040709@redhat.com> (raw)
In-Reply-To: <20110323113502.30322.26599.stgit@warthog.procyon.org.uk>

于 2011年03月23日 19:35, David Howells 写道:
> linux/smp.h now needs to include linux/init.h lest it give the following error:
>
>    CC      arch/mn10300/kernel/asm-offsets.s
> In file included from /data/mn10300/linux-2.6-mn10300/arch/mn10300/include/asm/irqflags.h:17,
>                   from include/linux/irqflags.h:15,
>                   from include/linux/spinlock.h:53,
>                   from include/linux/seqlock.h:29,
>                   from include/linux/time.h:8,
>                   from include/linux/timex.h:56,
>                   from include/linux/sched.h:57,
>                   from arch/mn10300/kernel/asm-offsets.c:7:
> include/linux/smp.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_nr_cpu_ids'
> include/linux/smp.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'smp_init'
>
> Signed-off-by: David Howells<dhowells@redhat.com>

Hi, David,

Heiko sent a same patch before you did. :)

Thanks.

      reply	other threads:[~2011-03-24  1:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-23 11:35 [PATCH] Fix linux/smp.h to include linux/init.h David Howells
2011-03-24  1:31 ` Cong Wang [this message]

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=4D8A9ED7.5040709@redhat.com \
    --to=amwang@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.