summaryrefslogtreecommitdiff
path: root/include/asm-ppc64
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2004-08-22 22:30:32 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 22:30:32 -0700
commitf3abb77d00bfa254cc410c60449c013ac00028bd (patch)
tree562508bde85208daa3c908cdd5ca66358f3328d1 /include/asm-ppc64
parent8923632cdaff44152c391d54b6f2147d98f12f1c (diff)
[PATCH] ppc64: remove unnecessary cpu maps
With cpu_present_map, we don't need these any longer. Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r--include/asm-ppc64/smp.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/asm-ppc64/smp.h b/include/asm-ppc64/smp.h
index f51ef31cc1ce..92195c568dbf 100644
--- a/include/asm-ppc64/smp.h
+++ b/include/asm-ppc64/smp.h
@@ -36,23 +36,6 @@ extern void smp_message_recv(int, struct pt_regs *);
#define smp_processor_id() (get_paca()->paca_index)
#define hard_smp_processor_id() (get_paca()->hw_cpu_id)
-/*
- * Retrieve the state of a CPU:
- * online: CPU is in a normal run state
- * possible: CPU is a candidate to be made online
- * available: CPU is candidate for the 'possible' pool
- * Used to get SMT threads started at boot time.
- * present_at_boot: CPU was available at boot time. Used in DLPAR
- * code to handle special cases for processor start up.
- */
-extern cpumask_t cpu_present_at_boot;
-extern cpumask_t cpu_online_map;
-extern cpumask_t cpu_possible_map;
-extern cpumask_t cpu_available_map;
-
-#define cpu_present_at_boot(cpu) cpu_isset(cpu, cpu_present_at_boot)
-#define cpu_available(cpu) cpu_isset(cpu, cpu_available_map)
-
/* Since OpenPIC has only 4 IPIs, we use slightly different message numbers.
*
* Make sure this matches openpic_request_IPIs in open_pic.c, or what shows up