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

arc: 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 arc as well.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

authored by

Tobias Klauser and committed by
Vineet Gupta
7bf6df57 7082a29c

-3
-3
arch/arc/include/asm/processor.h
··· 56 56 /* Free all resources held by a thread */ 57 57 #define release_thread(thread) do { } while (0) 58 58 59 - /* Prepare to copy thread state - unlazy all lazy status */ 60 - #define prepare_to_copy(tsk) do { } while (0) 61 - 62 59 /* 63 60 * A lot of busy-wait loops in SMP are based off of non-volatile data otherwise 64 61 * get optimised away by gcc