patch-2.4.2 linux/arch/s390/kernel/s390fpu.c
Next file: linux/arch/s390/kernel/s390io.c
Previous file: linux/arch/s390/kernel/s390dyn.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Feb 13 14:13:43 2001
- Orig file:
v2.4.1/linux/arch/s390/kernel/s390fpu.c
- Orig date:
Fri May 12 11:41:45 2000
diff -u --recursive --new-file v2.4.1/linux/arch/s390/kernel/s390fpu.c linux/arch/s390/kernel/s390fpu.c
@@ -81,6 +81,11 @@
{
int has_ieee=MACHINE_HAS_IEEE;
+ /* If we don't mask with the FPC_VALID_MASK here
+ * we've got a very quick shutdown -h now command
+ * via a kernel specification exception.
+ */
+ fpregs->fpc&=FPC_VALID_MASK;
asm volatile ("LD 0,8(%0)\n\t"
"LD 2,24(%0)\n\t"
"LD 4,40(%0)\n\t"
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)