* [PATCH] s390: fix "cpu_online" redefined warnings
@ 2004-06-11 15:15 Arnd Bergmann
0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2004-06-11 15:15 UTC (permalink / raw)
To: Andrew Morton; +Cc: Martin Schwidefsky, linux-kernel
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-11 15:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-11 15:15 [PATCH] s390: fix "cpu_online" redefined warnings Arnd Bergmann
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®