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

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=&current->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