patch-2.4.10 linux/arch/mips/kernel/reset.c
Next file: linux/arch/mips/kernel/scall_o32.S
Previous file: linux/arch/mips/kernel/r4k_switch.S
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sun Sep 9 10:43:01 2001
- Orig file:
v2.4.9/linux/arch/mips/kernel/reset.c
- Orig date:
Thu Jun 26 12:33:37 1997
diff -u --recursive --new-file v2.4.9/linux/arch/mips/kernel/reset.c linux/arch/mips/kernel/reset.c
@@ -1,7 +1,10 @@
/*
- * linux/arch/mips/sni/process.c
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
*
- * Reset the machine.
+ * Copyright (C) 2001 by Ralf Baechle
+ * Copyright (C) 2001 MIPS Technologies, Inc.
*/
#include <linux/kernel.h>
#include <linux/types.h>
@@ -13,6 +16,9 @@
* So handle all using function pointers to machine specific
* functions.
*/
+void (*_machine_restart)(char *command);
+void (*_machine_halt)(void);
+void (*_machine_power_off)(void);
void machine_restart(char *command)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)