aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index da3a155bba0d..344d693fdc78 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1059,6 +1059,8 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1059 1059
1060 p->lock_depth = -1; /* -1 = no lock */ 1060 p->lock_depth = -1; /* -1 = no lock */
1061 do_posix_clock_monotonic_gettime(&p->start_time); 1061 do_posix_clock_monotonic_gettime(&p->start_time);
1062 p->real_start_time = p->start_time;
1063 monotonic_to_bootbased(&p->real_start_time);
1062 p->security = NULL; 1064 p->security = NULL;
1063 p->io_context = NULL; 1065 p->io_context = NULL;
1064 p->io_wait = NULL; 1066 p->io_wait = NULL;