patch-2.0.1 linux/arch/alpha/kernel/process.c

Next file: linux/arch/alpha/kernel/signal.c
Previous file: linux/arch/alpha/kernel/osf_sys.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/arch/alpha/kernel/process.c linux/arch/alpha/kernel/process.c
@@ -8,6 +8,7 @@
  * This file handles the architecture-dependent parts of process handling..
  */
 
+#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
@@ -52,6 +53,11 @@
 
 void hard_reset_now(void)
 {
+#if defined(CONFIG_ALPHA_SRM) && defined(CONFIG_ALPHA_ALCOR)
+	/* who said DEC engineer's have no sense of humor? ;-)) */
+	*(int *) GRU_RESET = 0x0000dead;
+	mb();
+#endif
 	halt();
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov