]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm64: Remove unused prepare_to_copy()
authorTobias Klauser <tklauser@distanz.ch>
Mon, 5 Jan 2015 14:23:48 +0000 (14:23 +0000)
committerWill Deacon <will.deacon@arm.com>
Wed, 7 Jan 2015 11:40:58 +0000 (11:40 +0000)
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 arm64 as well.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/processor.h

index 286b1bec547ce2a060d01cf816893b2b4aef9d12..f131a98e1e64bf2bddb4572cc3c87b767a9d9bfe 100644 (file)
@@ -123,9 +123,6 @@ struct task_struct;
 /* Free all resources held by a thread. */
 extern void release_thread(struct task_struct *);
 
-/* Prepare to copy thread state - unlazy all lazy status */
-#define prepare_to_copy(tsk)   do { } while (0)
-
 unsigned long get_wchan(struct task_struct *p);
 
 #define cpu_relax()                    barrier()