diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-09-28 22:25:29 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-09-28 22:25:29 +0000 |
commit | 0ae8dceaebe3659ee0c3352c08125f403e77ebca (patch) | |
tree | 5085c389f09da78182b899d19fe1068b619a69dd /arch/mips/kernel/process.c | |
parent | 273767781288c35c9d679e908672b9996cda4c34 (diff) |
Merge with 2.3.10.
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r-- | arch/mips/kernel/process.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index a8c59ff78..8e1afd78f 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c @@ -1,4 +1,4 @@ -/* $Id: process.c,v 1.12 1999/06/17 13:25:46 ralf Exp $ +/* $Id: process.c,v 1.14 1999/08/09 19:43:14 harald Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -34,18 +34,6 @@ struct task_struct *last_task_used_math = NULL; asmlinkage void ret_from_sys_call(void); -/* - * Do necessary setup to start up a newly executed thread. - */ -void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) -{ - /* New thread looses kernel privileges. */ - regs->cp0_status = (regs->cp0_status & ~(ST0_CU0|KU_MASK)) | KU_USER; - regs->cp0_epc = pc; - regs->regs[29] = sp; - current->tss.current_ds = USER_DS; -} - void exit_thread(void) { /* Forget lazy fpu state */ @@ -66,10 +54,6 @@ void flush_thread(void) } } -void release_thread(struct task_struct *dead_task) -{ -} - int copy_thread(int nr, unsigned long clone_flags, unsigned long usp, struct task_struct * p, struct pt_regs * regs) { |