fork: move the real prepare_to_copy() users to arch_dup_task_struct()
[linux-2.6-block.git] / kernel / fork.c
index 687a15d562433ee60c5b19bf02f2e8652c6e4338..7aed746ff47c82a5532e73244a3c33e027cfe7ae 100644 (file)
@@ -261,8 +261,6 @@ static struct task_struct *dup_task_struct(struct task_struct *orig)
        int node = tsk_fork_get_node(orig);
        int err;
 
-       prepare_to_copy(orig);
-
        tsk = alloc_task_struct_node(node);
        if (!tsk)
                return NULL;