patch-2.1.77 linux/arch/i386/kernel/ptrace.c

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

diff -u --recursive --new-file v2.1.76/linux/arch/i386/kernel/ptrace.c linux/arch/i386/kernel/ptrace.c
@@ -611,7 +611,7 @@
 			  child->tss.i387.hard.twd = 0xffffffff;
 			}
 #ifdef CONFIG_MATH_EMULATION
-			if ( hard_math ) {
+			if ( boot_cpu_data.hard_math ) {
 #endif
 			  if (last_task_used_math == child) {
 			    clts();
@@ -639,7 +639,7 @@
 			  }
 			child->used_math = 1;
 #ifdef CONFIG_MATH_EMULATION
-			if ( hard_math ) {
+			if ( boot_cpu_data.hard_math ) {
 #endif
 			  if (last_task_used_math == child) {
 			    /* Discard the state of the FPU */

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