patch-2.2.8 linux/arch/ppc/kernel/traps.c
Next file: linux/arch/ppc/lib/strcase.c
Previous file: linux/arch/ppc/kernel/time.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Apr 29 12:39:01 1999
- Orig file:
v2.2.7/linux/arch/ppc/kernel/traps.c
- Orig date:
Thu Jan 7 15:11:36 1999
diff -u --recursive --new-file v2.2.7/linux/arch/ppc/kernel/traps.c linux/arch/ppc/kernel/traps.c
@@ -191,13 +191,8 @@
{
int fixed;
-#ifdef __SMP__
- if (regs->msr & MSR_FP )
- smp_giveup_fpu(current);
-#else
- if (last_task_used_math == current)
- giveup_fpu();
-#endif
+ if (regs->msr & MSR_FP)
+ giveup_fpu(current);
fixed = fix_alignment(regs);
if (fixed == 1) {
regs->nip += 4; /* skip over emulated instruction */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)