]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/fork.c
hrtimer: create a "timer_slack" field in the task struct
[linux-2.6-omap-h63xx.git] / kernel / fork.c
index 7ce2ebe847964ecd0701c3c74c18994e3eebcf26..4308d75f0fa5bc67c36748d31bb0e2518ab58990 100644 (file)
@@ -987,6 +987,8 @@ static struct task_struct *copy_process(unsigned long clone_flags,
        p->prev_utime = cputime_zero;
        p->prev_stime = cputime_zero;
 
+       p->default_timer_slack_ns = current->timer_slack_ns;
+
 #ifdef CONFIG_DETECT_SOFTLOCKUP
        p->last_switch_count = 0;
        p->last_switch_timestamp = 0;