diff options
Diffstat (limited to 'arch/sparc64/prom/misc.c')
-rw-r--r-- | arch/sparc64/prom/misc.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/arch/sparc64/prom/misc.c b/arch/sparc64/prom/misc.c index 713cbac5f9bf..36d2b9c1622d 100644 --- a/arch/sparc64/prom/misc.c +++ b/arch/sparc64/prom/misc.c | |||
@@ -308,9 +308,21 @@ int prom_wakeupsystem(void) | |||
308 | } | 308 | } |
309 | 309 | ||
310 | #ifdef CONFIG_SMP | 310 | #ifdef CONFIG_SMP |
311 | void prom_startcpu(int cpunode, unsigned long pc, unsigned long o0) | 311 | void prom_startcpu(int cpunode, unsigned long pc, unsigned long arg) |
312 | { | 312 | { |
313 | p1275_cmd("SUNW,start-cpu", P1275_INOUT(3, 0), cpunode, pc, o0); | 313 | p1275_cmd("SUNW,start-cpu", P1275_INOUT(3, 0), cpunode, pc, arg); |
314 | } | ||
315 | |||
316 | void prom_startcpu_cpuid(int cpuid, unsigned long pc, unsigned long arg) | ||
317 | { | ||
318 | p1275_cmd("SUNW,start-cpu-by-cpuid", P1275_INOUT(3, 0), | ||
319 | cpuid, pc, arg); | ||
320 | } | ||
321 | |||
322 | void prom_stopcpu_cpuid(int cpuid) | ||
323 | { | ||
324 | p1275_cmd("SUNW,stop-cpu-by-cpuid", P1275_INOUT(1, 0), | ||
325 | cpuid); | ||
314 | } | 326 | } |
315 | 327 | ||
316 | void prom_stopself(void) | 328 | void prom_stopself(void) |