diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-23 08:00:03 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-23 08:00:03 +0000 |
commit | cc858f6e51f21ecda51f60b595eae308f032566c (patch) | |
tree | def4de98a50fc06cc5a2c36dba8c5824c9717fab /arch/mips/kernel/process.c | |
parent | 6dd778f9528c1acc17dbfca685f51bd5c3750d45 (diff) |
Store current in $28.
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r-- | arch/mips/kernel/process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 14e896c51..4b65d3c97 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c @@ -7,7 +7,7 @@ * * Copyright (C) 1994 - 1998 by Ralf Baechle and others. * - * $Id: process.c,v 1.6 1998/03/21 22:37:05 ralf Exp $ + * $Id: process.c,v 1.5 1998/03/22 23:27:13 ralf Exp $ */ #include <linux/config.h> #include <linux/errno.h> @@ -84,6 +84,7 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp, regs->regs[3] = 0; } if (childregs->cp0_status & ST0_CU0) { + childregs->regs[28] = p; childregs->regs[29] = childksp; p->tss.current_ds = KERNEL_DS; } else { |