process.c (78c2141b654375079e3737f06f19cabfc0fcecd7) | process.c (714acdbd1c94e7e3ab90f6b6938f1ccb27b662f0) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * PARISC Architecture-dependent parts of process handling 4 * based on the work for i386 5 * 6 * Copyright (C) 1999-2003 Matthew Wilcox <willy at parisc-linux.org> 7 * Copyright (C) 2000 Martin K Petersen <mkp at mkp.net> 8 * Copyright (C) 2000 John Marvin <jsm at parisc-linux.org> --- 194 unchanged lines hidden (view full) --- 203 return 0; 204} 205arch_initcall(parisc_idle_init); 206 207/* 208 * Copy architecture-specific thread state 209 */ 210int | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * PARISC Architecture-dependent parts of process handling 4 * based on the work for i386 5 * 6 * Copyright (C) 1999-2003 Matthew Wilcox <willy at parisc-linux.org> 7 * Copyright (C) 2000 Martin K Petersen <mkp at mkp.net> 8 * Copyright (C) 2000 John Marvin <jsm at parisc-linux.org> --- 194 unchanged lines hidden (view full) --- 203 return 0; 204} 205arch_initcall(parisc_idle_init); 206 207/* 208 * Copy architecture-specific thread state 209 */ 210int |
211copy_thread_tls(unsigned long clone_flags, unsigned long usp, | 211copy_thread(unsigned long clone_flags, unsigned long usp, |
212 unsigned long kthread_arg, struct task_struct *p, unsigned long tls) 213{ 214 struct pt_regs *cregs = &(p->thread.regs); 215 void *stack = task_stack_page(p); 216 217 /* We have to use void * instead of a function pointer, because 218 * function pointers aren't a pointer to the function on 64-bit. 219 * Make them const so the compiler knows they live in .text */ --- 104 unchanged lines hidden --- | 212 unsigned long kthread_arg, struct task_struct *p, unsigned long tls) 213{ 214 struct pt_regs *cregs = &(p->thread.regs); 215 void *stack = task_stack_page(p); 216 217 /* We have to use void * instead of a function pointer, because 218 * function pointers aren't a pointer to the function on 64-bit. 219 * Make them const so the compiler knows they live in .text */ --- 104 unchanged lines hidden --- |