aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBob Breuer <breuerr@mc.net>2006-06-20 03:30:31 -0400
committerDavid S. Miller <davem@davemloft.net>2006-06-20 03:30:31 -0400
commit7202fb496af235506a3c6fea836fe4c9957f730e (patch)
tree44e5338a62fe866da0f9bac2f9bfb75226e4ca32 /include
parenta8cbdcea341ac2f404ee81aa1c19d54aaa0416b4 (diff)
[SPARC]: Setup cpu_possible_map
Setup cpu_possible_map so the secondary cpus will get started. Signed-off-by: Bob Breuer <breuerr@mc.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc/smp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-sparc/smp.h b/include/asm-sparc/smp.h
index 98c46e3fbe8a..c1a289327a79 100644
--- a/include/asm-sparc/smp.h
+++ b/include/asm-sparc/smp.h
@@ -146,6 +146,8 @@ static inline int hard_smp_processor_id(void)
146#define prof_multiplier(__cpu) cpu_data(__cpu).multiplier 146#define prof_multiplier(__cpu) cpu_data(__cpu).multiplier
147#define prof_counter(__cpu) cpu_data(__cpu).counter 147#define prof_counter(__cpu) cpu_data(__cpu).counter
148 148
149void smp_setup_cpu_possible_map(void);
150
149#endif /* !(__ASSEMBLY__) */ 151#endif /* !(__ASSEMBLY__) */
150 152
151/* Sparc specific messages. */ 153/* Sparc specific messages. */
@@ -162,7 +164,11 @@ static inline int hard_smp_processor_id(void)
162#define MBOX_IDLECPU2 0xFD 164#define MBOX_IDLECPU2 0xFD
163#define MBOX_STOPCPU2 0xFE 165#define MBOX_STOPCPU2 0xFE
164 166
165#endif /* SMP */ 167#else /* SMP */
168
169#define smp_setup_cpu_possible_map() do { } while (0)
170
171#endif /* !(SMP) */
166 172
167#define NO_PROC_ID 0xFF 173#define NO_PROC_ID 0xFF
168 174