patch-2.3.13 linux/arch/arm/kernel/process.c
Next file: linux/arch/arm/kernel/ptrace.c
Previous file: linux/arch/arm/kernel/fiq.c
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Mon Aug 2 10:19:52 1999
- Orig file:
v2.3.12/linux/arch/arm/kernel/process.c
- Orig date:
Wed Jul 21 15:46:48 1999
diff -u --recursive --new-file v2.3.12/linux/arch/arm/kernel/process.c linux/arch/arm/kernel/process.c
@@ -207,9 +207,7 @@
void flush_thread(void)
{
- int i;
-
- memset(¤t->tss.debug, 0, sizeof(current->tss.debug));
+ memset(¤t->thread.debug, 0, sizeof(current->thread.debug));
current->used_math = 0;
current->flags &= ~PF_USEDFPU;
}
@@ -231,7 +229,7 @@
save = ((struct context_save_struct *)(childregs)) - 1;
init_thread_css(save);
- p->tss.save = save;
+ p->thread.save = save;
return 0;
}
@@ -244,7 +242,7 @@
int fpvalid = 0;
if (current->used_math)
- memcpy (fp, ¤t->tss.fpstate.soft, sizeof (fp));
+ memcpy (fp, ¤t->thread.fpstate.soft, sizeof (fp));
return fpvalid;
}
@@ -262,11 +260,11 @@
dump->u_dsize = (current->mm->brk - current->mm->start_data + PAGE_SIZE - 1) >> PAGE_SHIFT;
dump->u_ssize = 0;
- dump->u_debugreg[0] = current->tss.debug.bp[0].address;
- dump->u_debugreg[1] = current->tss.debug.bp[1].address;
- dump->u_debugreg[2] = current->tss.debug.bp[0].insn;
- dump->u_debugreg[3] = current->tss.debug.bp[1].insn;
- dump->u_debugreg[4] = current->tss.debug.nsaved;
+ dump->u_debugreg[0] = current->thread.debug.bp[0].address;
+ dump->u_debugreg[1] = current->thread.debug.bp[1].address;
+ dump->u_debugreg[2] = current->thread.debug.bp[0].insn;
+ dump->u_debugreg[3] = current->thread.debug.bp[1].insn;
+ dump->u_debugreg[4] = current->thread.debug.nsaved;
if (dump->start_stack < 0x04000000)
dump->u_ssize = (0x04000000 - dump->start_stack) >> PAGE_SHIFT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)