From: blaisorblade_spam@yahoo.it
To: akpm@osdl.org
Cc: jdike@addtoit.com, linux-kernel@vger.kernel.org,
user-mode-linux-devel@lists.sourceforge.net,
blaisorblade_spam@yahoo.it
Subject: [patch 4/6] uml: don't declare cpu_online - fix compilation error
Date: Tue, 12 Oct 2004 02:16:31 +0200 [thread overview]
Message-ID: <20041012001631.60C75868F@zion.localdomain> (raw)
Avoid redeclaring again (resulting in a compilation error) cpu_online and
cpu_*_map, which are now declared elsewhere.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
---
linux-2.6.9-current-paolo/include/asm-um/smp.h | 6 ------
1 files changed, 6 deletions(-)
diff -puN include/asm-um/smp.h~uml-no-decl-cpu_online include/asm-um/smp.h
--- linux-2.6.9-current/include/asm-um/smp.h~uml-no-decl-cpu_online 2004-10-12 01:18:02.531646720 +0200
+++ linux-2.6.9-current-paolo/include/asm-um/smp.h 2004-10-12 01:18:02.533646416 +0200
@@ -8,10 +8,6 @@
#include "asm/current.h"
#include "linux/cpumask.h"
-extern cpumask_t cpu_online_map;
-extern cpumask_t cpu_possible_map;
-
-
#define smp_processor_id() (current_thread->cpu)
#define cpu_logical_map(n) (n)
#define cpu_number_map(n) (n)
@@ -19,8 +15,6 @@ extern cpumask_t cpu_possible_map;
extern int hard_smp_processor_id(void);
#define NO_PROC_ID -1
-#define cpu_online(cpu) cpu_isset(cpu, cpu_online_map)
-
extern int ncpus;
_
reply other threads:[~2004-10-12 0:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20041012001631.60C75868F@zion.localdomain \
--to=blaisorblade_spam@yahoo.it \
--cc=akpm@osdl.org \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=user-mode-linux-devel@lists.sourceforge.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
all inboxes | Powered by JetHome®