diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-07-20 14:56:40 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-07-20 14:56:40 +0000 |
commit | e308faf24f68e262d92d294a01ddca7a17e76762 (patch) | |
tree | 22c47cb315811834861f013067878ff664e95abd /arch/sparc64/prom/misc.c | |
parent | 30c6397ce63178fcb3e7963ac247f0a03132aca9 (diff) |
Sync with Linux 2.1.46.
Diffstat (limited to 'arch/sparc64/prom/misc.c')
-rw-r--r-- | arch/sparc64/prom/misc.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/sparc64/prom/misc.c b/arch/sparc64/prom/misc.c index fe9bf9c6b..8b738fd41 100644 --- a/arch/sparc64/prom/misc.c +++ b/arch/sparc64/prom/misc.c @@ -1,4 +1,4 @@ -/* $Id: misc.c,v 1.6 1997/04/10 05:13:05 davem Exp $ +/* $Id: misc.c,v 1.8 1997/07/14 23:45:28 davem Exp $ * misc.c: Miscellaneous prom functions that don't belong * anywhere else. * @@ -6,6 +6,7 @@ * Copyright (C) 1996,1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ +#include <linux/config.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/sched.h> @@ -45,8 +46,8 @@ void prom_cmdline(void) { extern void kernel_enter_debugger(void); - extern void install_obp_ticker(void); - extern void install_linux_ticker(void); + /* extern void install_obp_ticker(void); */ + /* extern void install_linux_ticker(void); */ unsigned long flags; /* kernel_enter_debugger(); */ @@ -132,3 +133,10 @@ void prom_set_trap_table(unsigned long tba) { p1275_cmd("SUNW,set-trap-table", P1275_INOUT(1, 0), tba); } + +#ifdef __SMP__ +void prom_start_cpu(int cpunode, unsigned long pc, unsigned long o0) +{ + p1275_cmd("SUNW,start-cpu", P1275_INOUT(3, 0), cpunode, pc, o0); +} +#endif |