process.c (98817a84ff1c755c347ac633ff017a623a631fad) | process.c (714acdbd1c94e7e3ab90f6b6938f1ccb27b662f0) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/arch/arm/kernel/process.c 4 * 5 * Copyright (C) 1996-2000 Russell King - Converted to ARM. 6 * Original Copyright (C) 1995 Linus Torvalds 7 */ 8#include <stdarg.h> --- 211 unchanged lines hidden (view full) --- 220} 221 222void release_thread(struct task_struct *dead_task) 223{ 224} 225 226asmlinkage void ret_from_fork(void) __asm__("ret_from_fork"); 227 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/arch/arm/kernel/process.c 4 * 5 * Copyright (C) 1996-2000 Russell King - Converted to ARM. 6 * Original Copyright (C) 1995 Linus Torvalds 7 */ 8#include <stdarg.h> --- 211 unchanged lines hidden (view full) --- 220} 221 222void release_thread(struct task_struct *dead_task) 223{ 224} 225 226asmlinkage void ret_from_fork(void) __asm__("ret_from_fork"); 227 |
228int 229copy_thread_tls(unsigned long clone_flags, unsigned long stack_start, 230 unsigned long stk_sz, struct task_struct *p, unsigned long tls) | 228int copy_thread(unsigned long clone_flags, unsigned long stack_start, 229 unsigned long stk_sz, struct task_struct *p, unsigned long tls) |
231{ 232 struct thread_info *thread = task_thread_info(p); 233 struct pt_regs *childregs = task_pt_regs(p); 234 235 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save)); 236 237#ifdef CONFIG_CPU_USE_DOMAINS 238 /* --- 226 unchanged lines hidden --- | 230{ 231 struct thread_info *thread = task_thread_info(p); 232 struct pt_regs *childregs = task_pt_regs(p); 233 234 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save)); 235 236#ifdef CONFIG_CPU_USE_DOMAINS 237 /* --- 226 unchanged lines hidden --- |