aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2006-01-09 23:52:34 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 11:01:38 -0500
commit2ff678b8da6478d861c1b0ecb3ac14575760e906 (patch)
tree0ca983ce820ac8bb9f6e8b193926e0804116a7e0 /kernel/fork.c
parentdf78488de7befd387e9d060da6e18bb5d1cb882c (diff)
[PATCH] hrtimer: switch itimers to hrtimer
switch itimers to a hrtimers-based implementation Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index b18d64554feb..3bdcab49998d 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -801,10 +801,10 @@ static inline int copy_signal(unsigned long clone_flags, struct task_struct * ts
801 init_sigpending(&sig->shared_pending); 801 init_sigpending(&sig->shared_pending);
802 INIT_LIST_HEAD(&sig->posix_timers); 802 INIT_LIST_HEAD(&sig->posix_timers);
803 803
804 sig->it_real_value = sig->it_real_incr = 0; 804 hrtimer_init(&sig->real_timer, CLOCK_MONOTONIC);
805 sig->it_real_incr.tv64 = 0;
805 sig->real_timer.function = it_real_fn; 806 sig->real_timer.function = it_real_fn;
806 sig->real_timer.data = (unsigned long) tsk; 807 sig->real_timer.data = tsk;
807 init_timer(&sig->real_timer);
808 808
809 sig->it_virt_expires = cputime_zero; 809 sig->it_virt_expires = cputime_zero;
810 sig->it_virt_incr = cputime_zero; 810 sig->it_virt_incr = cputime_zero;