Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nios2: Remove unused prepare_to_copy()

prepare_to_copy() was removed from all architectures supported at that
time in commit 55ccf3fe3f9a ("fork: move the real prepare_to_copy()
users to arch_dup_task_struct()"). Remove it from nios2 as well.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>

authored by

Tobias Klauser and committed by
Ley Foon Tan
ad7ef26d bfa76d49

-3
-3
arch/nios2/include/asm/processor.h
··· 85 85 86 86 extern unsigned long get_wchan(struct task_struct *p); 87 87 88 - /* Prepare to copy thread state - unlazy all lazy status */ 89 - #define prepare_to_copy(tsk) do { } while (0) 90 - 91 88 #define task_pt_regs(p) \ 92 89 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1) 93 90