aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/oplib.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-15 05:26:54 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:13:04 -0500
commit7890f794e0e6f7dce2a5f4a03ba64b0b3fe306bd (patch)
treea9cc7c67498616a47108c667a9c001f9fe468318 /include/asm-sparc64/oplib.h
parent63c2a0e598c2fa769a08a6e9ad124bf270b4436e (diff)
[SPARC64]: Add prom_{start,stop}cpu_cpuid().
Use prom_startcpu_cpuid() on SUN4V instead of prom_startcpu(). We should really test for "SUNW,start-cpu-by-cpuid" presence and use it if present even on SUN4U. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/oplib.h')
-rw-r--r--include/asm-sparc64/oplib.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/asm-sparc64/oplib.h b/include/asm-sparc64/oplib.h
index 0631d13475f2..84618f8a9e6e 100644
--- a/include/asm-sparc64/oplib.h
+++ b/include/asm-sparc64/oplib.h
@@ -188,10 +188,18 @@ extern enum prom_output_device prom_query_output_device(void);
188 188
189/* Multiprocessor operations... */ 189/* Multiprocessor operations... */
190#ifdef CONFIG_SMP 190#ifdef CONFIG_SMP
191/* Start the CPU with the given device tree node, context table, and context 191/* Start the CPU with the given device tree node at the passed program
192 * at the passed program counter. 192 * counter with the given arg passed in via register %o0.
193 */ 193 */
194extern void prom_startcpu(int cpunode, unsigned long pc, unsigned long o0); 194extern void prom_startcpu(int cpunode, unsigned long pc, unsigned long arg);
195
196/* Start the CPU with the given cpu ID at the passed program
197 * counter with the given arg passed in via register %o0.
198 */
199extern void prom_startcpu_cpuid(int cpuid, unsigned long pc, unsigned long arg);
200
201/* Stop the CPU with the given cpu ID. */
202extern void prom_stopcpu_cpuid(int cpuid);
195 203
196/* Stop the current CPU. */ 204/* Stop the current CPU. */
197extern void prom_stopself(void); 205extern void prom_stopself(void);