patch-2.4.22 linux-2.4.22/drivers/s390/s390mach.c
Next file: linux-2.4.22/drivers/sbus/sbus.c
Previous file: linux-2.4.22/drivers/s390/s390io.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/s390/s390mach.c
- Orig date:
2002-11-28 15:53:14.000000000 -0800
diff -urN linux-2.4.21/drivers/s390/s390mach.c linux-2.4.22/drivers/s390/s390mach.c
@@ -121,7 +121,7 @@
#if 1
ctl_set_bit( 14, 28 ); // enable channel report MCH
#endif
-#ifdef CONFIG_MACHCK_WARNING
+#ifdef CONFIG_MACHCHK_WARNING
ctl_set_bit( 14, 24); /* enable warning MCH */
#endif
@@ -152,7 +152,6 @@
return;
}
-
/*
* s390_do_machine_check
*
@@ -327,6 +326,16 @@
} /* endif */
#endif
+#ifdef CONFIG_MACHCHK_WARNING
+ if ( pmache->mcic.mcc.mcd.w )
+ {
+ ctrl_alt_del(); // shutdown NOW!
+#ifdef S390_MACHCHK_DEBUG
+ printk( KERN_DEBUG "mach_handler : kill -SIGPWR init\n");
+#endif
+ } /* endif */
+#endif
+
s390_enqueue_free_mchchk( pmache );
}
else
@@ -655,4 +664,3 @@
return ( 1 );
}
#endif
-
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)