Skip to content

Commit ad7ef26

Browse files
tklauserLey Foon Tan
authored andcommitted
nios2: Remove unused prepare_to_copy()
prepare_to_copy() was removed from all architectures supported at that time in commit 55ccf3f ("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>
1 parent bfa76d4 commit ad7ef26

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎arch/nios2/include/asm/processor.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ static inline void exit_thread(void)
8585

8686
extern unsigned long get_wchan(struct task_struct *p);
8787

88-
/* Prepare to copy thread state - unlazy all lazy status */
89-
#define prepare_to_copy(tsk) do { } while (0)
90-
9188
#define task_pt_regs(p) \
9289
((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
9390

0 commit comments

Comments
 (0)