patch-2.1.75 linux/arch/i386/kernel/signal.c

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

diff -u --recursive --new-file v2.1.74/linux/arch/i386/kernel/signal.c linux/arch/i386/kernel/signal.c
@@ -165,7 +165,7 @@
 #ifndef CONFIG_MATH_EMULATION
 	restore_i387_hard(buf);
 #else
-	if (hard_math)
+	if (boot_cpu_data.hard_math)
 		restore_i387_hard(buf);
 	else
 		restore_i387_soft(&current->tss.i387.soft, buf);
@@ -325,7 +325,7 @@
 #ifndef CONFIG_MATH_EMULATION
 	return save_i387_hard(buf);
 #else
-	return hard_math ? save_i387_hard(buf)
+	return boot_cpu_data.hard_math ? save_i387_hard(buf)
 	  : save_i387_soft(&current->tss.i387.soft, buf);
 #endif
 }

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