diff options
Diffstat (limited to 'kernel/fork.c')
| -rw-r--r-- | kernel/fork.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 0ba9e64b5821..4fc3fcd5dacb 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -26,6 +26,7 @@ #include <linux/mman.h> #include <linux/fs.h> #include <linux/security.h> +#include <linux/jiffies.h> #include <linux/futex.h> #include <linux/ptrace.h> #include <linux/mount.h> @@ -814,7 +815,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, p->cutime = p->cstime = 0; p->array = NULL; p->lock_depth = -1; /* -1 = no lock */ - p->start_time = jiffies; + p->start_time = get_jiffies_64(); p->security = NULL; retval = -ENOMEM; |
