From: Christoph Hellwig <hch@lst.de>
To: Miles Lane <miles.lane@comcast.net>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: 2.6.0-test3-bk1 -- include/asm/smp.h:61: error: `NR_CPUS' undeclared (first use in this function)
Date: Sun, 10 Aug 2003 21:09:54 +0200 [thread overview]
Message-ID: <20030810190954.GA13537@lst.de> (raw)
In-Reply-To: <200308101142.16491.miles.lane@comcast.net>
On Sun, Aug 10, 2003 at 11:42:16AM -0700, Miles Lane wrote:
>
> CC kernel/timer.o
> In file included from include/linux/smp.h:17,
> from include/linux/kernel_stat.h:6,
> from kernel/timer.c:22:
> include/asm/smp.h: In function `any_online_cpu':
> include/asm/smp.h:61: error: `NR_CPUS' undeclared (first use in this function)
> include/asm/smp.h:61: error: (Each undeclared identifier is reported only once
> include/asm/smp.h:61: error: for each function it appears in.)
> make[1]: *** [kernel/timer.o] Error 1
I had that for a while now. Including <linux/threads.h> in <asm/smp.h>
fixes it.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-08-10 19:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-10 18:42 2.6.0-test3-bk1 -- include/asm/smp.h:61: error: `NR_CPUS' undeclared (first use in this function) Miles Lane
2003-08-10 19:09 ` Christoph Hellwig [this message]
2003-08-10 19:34 ` PATCH -- " Miles Lane
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=20030810190954.GA13537@lst.de \
--to=hch@lst.de \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=miles.lane@comcast.net \
/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;
as well as URLs for NNTP newsgroup(s).