process.c (0fdfc53f24cc460e93de57c014bc6e5460755073) process.c (714acdbd1c94e7e3ab90f6b6938f1ccb27b662f0)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/arch/alpha/kernel/process.c
4 *
5 * Copyright (C) 1995 Linus Torvalds
6 */
7
8/*

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

228void
229release_thread(struct task_struct *dead_task)
230{
231}
232
233/*
234 * Copy architecture-specific thread state
235 */
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/arch/alpha/kernel/process.c
4 *
5 * Copyright (C) 1995 Linus Torvalds
6 */
7
8/*

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

228void
229release_thread(struct task_struct *dead_task)
230{
231}
232
233/*
234 * Copy architecture-specific thread state
235 */
236int copy_thread_tls(unsigned long clone_flags, unsigned long usp,
237 unsigned long kthread_arg, struct task_struct *p,
238 unsigned long tls)
236int copy_thread(unsigned long clone_flags, unsigned long usp,
237 unsigned long kthread_arg, struct task_struct *p,
238 unsigned long tls)
239{
240 extern void ret_from_fork(void);
241 extern void ret_from_kernel_thread(void);
242
243 struct thread_info *childti = task_thread_info(p);
244 struct pt_regs *childregs = task_pt_regs(p);
245 struct pt_regs *regs = current_pt_regs();
246 struct switch_stack *childstack, *stack;

--- 155 unchanged lines hidden ---
239{
240 extern void ret_from_fork(void);
241 extern void ret_from_kernel_thread(void);
242
243 struct thread_info *childti = task_thread_info(p);
244 struct pt_regs *childregs = task_pt_regs(p);
245 struct pt_regs *regs = current_pt_regs();
246 struct switch_stack *childstack, *stack;

--- 155 unchanged lines hidden ---