patch-1.3.38 linux/arch/i386/kernel/traps.c
Next file: linux/arch/i386/mm/fault.c
Previous file: linux/arch/i386/kernel/trampoline32.S
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Oct 30 09:59:01 1995
- Orig file:
v1.3.37/linux/arch/i386/kernel/traps.c
- Orig date:
Wed Oct 4 14:14:29 1995
diff -u --recursive --new-file v1.3.37/linux/arch/i386/kernel/traps.c linux/arch/i386/kernel/traps.c
@@ -242,7 +242,7 @@
void math_error(void)
{
struct i387_hard_struct * env;
-#ifdef CONFIG_SMP
+#ifdef __SMP__
env=¤t->tss.i387.hard;
send_sig(SIGFPE, current, 1);
/*
@@ -289,7 +289,7 @@
*/
asmlinkage void math_state_restore(void)
{
-#ifdef CONFIG_SMP
+#ifdef __SMP__
/*
* SMP is actually simpler than uniprocessor for once. Because
* we can't pull the delayed FPU switching trick Linus does
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this