process.c (98817a84ff1c755c347ac633ff017a623a631fad) process.c (714acdbd1c94e7e3ab90f6b6938f1ccb27b662f0)
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1994 - 1999, 2000 by Ralf Baechle and others.
7 * Copyright (C) 2005, 2006 by Ralf Baechle (ralf@linux-mips.org)
8 * Copyright (C) 1999, 2000 Silicon Graphics, Inc.

--- 105 unchanged lines hidden (view full) ---

114
115 *dst = *src;
116 return 0;
117}
118
119/*
120 * Copy architecture-specific thread state
121 */
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1994 - 1999, 2000 by Ralf Baechle and others.
7 * Copyright (C) 2005, 2006 by Ralf Baechle (ralf@linux-mips.org)
8 * Copyright (C) 1999, 2000 Silicon Graphics, Inc.

--- 105 unchanged lines hidden (view full) ---

114
115 *dst = *src;
116 return 0;
117}
118
119/*
120 * Copy architecture-specific thread state
121 */
122int copy_thread_tls(unsigned long clone_flags, unsigned long usp,
123 unsigned long kthread_arg, struct task_struct *p, unsigned long tls)
122int copy_thread(unsigned long clone_flags, unsigned long usp,
123 unsigned long kthread_arg, struct task_struct *p,
124 unsigned long tls)
124{
125 struct thread_info *ti = task_thread_info(p);
126 struct pt_regs *childregs, *regs = current_pt_regs();
127 unsigned long childksp;
128
129 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE - 32;
130
131 /* set up new TSS. */

--- 749 unchanged lines hidden ---
125{
126 struct thread_info *ti = task_thread_info(p);
127 struct pt_regs *childregs, *regs = current_pt_regs();
128 unsigned long childksp;
129
130 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE - 32;
131
132 /* set up new TSS. */

--- 749 unchanged lines hidden ---