patch-2.3.16 linux/arch/ppc/kernel/align.c
Next file: linux/arch/ppc/kernel/apus_setup.c
Previous file: linux/arch/ppc/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Tue Aug 31 11:36:43 1999
- Orig file:
v2.3.15/linux/arch/ppc/kernel/align.c
- Orig date:
Thu Apr 29 12:39:01 1999
diff -u --recursive --new-file v2.3.15/linux/arch/ppc/kernel/align.c linux/arch/ppc/kernel/align.c
@@ -243,10 +243,10 @@
}
break;
case LD+F:
- current->tss.fpr[reg] = data.d;
+ current->thread.fpr[reg] = data.d;
break;
case ST+F:
- data.d = current->tss.fpr[reg];
+ data.d = current->thread.fpr[reg];
break;
/* these require some floating point conversions... */
/* we'd like to use the assignment, but we have to compile
@@ -254,13 +254,13 @@
* fp regs for copying 8-byte objects. */
case LD+F+S:
enable_kernel_fp();
- cvt_fd(&data.f, ¤t->tss.fpr[reg], ¤t->tss.fpscr);
- /* current->tss.fpr[reg] = data.f; */
+ cvt_fd(&data.f, ¤t->thread.fpr[reg], ¤t->thread.fpscr);
+ /* current->thread.fpr[reg] = data.f; */
break;
case ST+F+S:
enable_kernel_fp();
- cvt_df(¤t->tss.fpr[reg], &data.f, ¤t->tss.fpscr);
- /* data.f = current->tss.fpr[reg]; */
+ cvt_df(¤t->thread.fpr[reg], &data.f, ¤t->thread.fpscr);
+ /* data.f = current->thread.fpr[reg]; */
break;
default:
printk("align: can't handle flags=%x\n", flags);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)