From: Manfred <manfred@colorfullife.com>
To: isabellf@sympatico.ca, linux-kernel@vger.kernel.org
Subject: Re: 2.4.0-Prerelease :smp_num_cpus undefined while compiling without smp for Athlon
Date: Thu, 04 Jan 2001 11:37:59 +0100 [thread overview]
Message-ID: <3A545287.4C73C9E5@colorfullife.com> (raw)
Look at include/linux/smp.h: on SMP, it includes <asm/smp.h>, on UP it
contains a
#define smp_num_cpus 1
I assume that someone directly includes <asm/smp.h>.
Try to add a
#ifndef __LINUX_SMP_H
#error Found it!
#endif
to the beginning of <asm-alpha/smp.h>
--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-01-04 10:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-04 10:37 Manfred [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-01-04 4:04 François Isabelle
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=3A545287.4C73C9E5@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=isabellf@sympatico.ca \
--cc=linux-kernel@vger.kernel.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 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®