From: Arnd Bergmann <arnd@arndb.de>
To: Andrew Morton <akpm@osdl.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] s390: fix "cpu_online" redefined warnings
Date: Fri, 11 Jun 2004 17:15:35 +0200 [thread overview]
Message-ID: <200406111715.35399.arnd@arndb.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 897 bytes --]
cpumask-5-10-rewrite-cpumaskh-single-bitmap-based from 2.6.7-rc3-mm1
causes include2/asm/smp.h:54:1: warning: "cpu_online" redefined
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
===== include/asm-s390/smp.h 1.13 vs edited =====
--- 1.13/include/asm-s390/smp.h Thu Feb 26 12:21:54 2004
+++ edited/include/asm-s390/smp.h Fri Jun 11 16:31:47 2004
@@ -31,10 +31,6 @@
extern int smp_call_function_on(void (*func) (void *info), void *info,
int nonatomic, int wait, int cpu);
-
-extern cpumask_t cpu_online_map;
-extern cpumask_t cpu_possible_map;
-
#define NO_PROC_ID 0xFF /* No processor magic marker */
/*
@@ -50,8 +46,6 @@
#define PROC_CHANGE_PENALTY 20 /* Schedule penalty */
#define smp_processor_id() (S390_lowcore.cpu_data.cpu_nr)
-
-#define cpu_online(cpu) cpu_isset(cpu, cpu_online_map)
extern __inline__ __u16 hard_smp_processor_id(void)
{
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
reply other threads:[~2004-06-11 15:16 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=200406111715.35399.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@de.ibm.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®