patch-2.3.14 linux/arch/alpha/kernel/sys_miata.c
Next file: linux/arch/alpha/kernel/sys_mikasa.c
Previous file: linux/arch/alpha/kernel/smp.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Fri Aug 13 11:53:50 1999
- Orig file:
v2.3.13/linux/arch/alpha/kernel/sys_miata.c
- Orig date:
Sun Feb 21 19:06:36 1999
diff -u --recursive --new-file v2.3.13/linux/arch/alpha/kernel/sys_miata.c linux/arch/alpha/kernel/sys_miata.c
@@ -271,6 +271,17 @@
es1888_init();
}
+static void
+miata_kill_arch (int mode, char *reboot_cmd)
+{
+ /* Who said DEC engineers have no sense of humor? ;-) */
+ if (alpha_using_srm) {
+ *(vuip) PYXIS_RESET = 0x0000dead;
+ mb();
+ }
+ generic_kill_arch(mode, reboot_cmd);
+}
+
/*
* The System Vector
@@ -295,6 +306,6 @@
init_irq: miata_init_irq,
init_pit: generic_init_pit,
pci_fixup: miata_pci_fixup,
- kill_arch: generic_kill_arch,
+ kill_arch: miata_kill_arch,
};
ALIAS_MV(miata)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)