Skip to content

Commit

Permalink
nios2: Remove unused prepare_to_copy()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Ley Foon Tan <[email protected]>
  • Loading branch information
tklauser authored and Ley Foon Tan committed Feb 9, 2015
1 parent bfa76d4 commit ad7ef26
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/nios2/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ static inline void exit_thread(void)

extern unsigned long get_wchan(struct task_struct *p);

/* Prepare to copy thread state - unlazy all lazy status */
#define prepare_to_copy(tsk) do { } while (0)

#define task_pt_regs(p) \
((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)

Expand Down

0 comments on commit ad7ef26

Please sign in to comment.