process.c (98817a84ff1c755c347ac633ff017a623a631fad) process.c (714acdbd1c94e7e3ab90f6b6938f1ccb27b662f0)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4 *
5 * Amit Bhor, Kanika Nema: Codito Technologies 2004
6 */
7
8#include <linux/errno.h>

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

168 * | r0 |
169 * ------------------
170 * | SP |
171 * | orig_r0 |
172 * | event/ECR |
173 * | user_r25 |
174 * ------------------ <===== END of PAGE
175 */
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4 *
5 * Amit Bhor, Kanika Nema: Codito Technologies 2004
6 */
7
8#include <linux/errno.h>

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

168 * | r0 |
169 * ------------------
170 * | SP |
171 * | orig_r0 |
172 * | event/ECR |
173 * | user_r25 |
174 * ------------------ <===== END of PAGE
175 */
176int copy_thread_tls(unsigned long clone_flags, unsigned long usp,
177 unsigned long kthread_arg, struct task_struct *p, unsigned long tls)
176int copy_thread(unsigned long clone_flags, unsigned long usp,
177 unsigned long kthread_arg, struct task_struct *p,
178 unsigned long tls)
178{
179 struct pt_regs *c_regs; /* child's pt_regs */
180 unsigned long *childksp; /* to unwind out of __switch_to() */
181 struct callee_regs *c_callee; /* child's callee regs */
182 struct callee_regs *parent_callee; /* paren't callee */
183 struct pt_regs *regs = current_pt_regs();
184
185 /* Mark the specific anchors to begin with (see pic above) */

--- 137 unchanged lines hidden ---
179{
180 struct pt_regs *c_regs; /* child's pt_regs */
181 unsigned long *childksp; /* to unwind out of __switch_to() */
182 struct callee_regs *c_callee; /* child's callee regs */
183 struct callee_regs *parent_callee; /* paren't callee */
184 struct pt_regs *regs = current_pt_regs();
185
186 /* Mark the specific anchors to begin with (see pic above) */

--- 137 unchanged lines hidden ---