[PATCH] hrtimers: pass current time to hrtimer_forward()
Pass current time to hrtimer_forward(). This allows to use the softirq time in the timer base when the forward function is called from the timer callback. Other places pass current time with a call to timer->base->get_time(). Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
92127c7a45
commit
44f2147551
@@ -136,7 +136,8 @@ int it_real_fn(void *data)
|
||||
|
||||
if (tsk->signal->it_real_incr.tv64 != 0) {
|
||||
hrtimer_forward(&tsk->signal->real_timer,
|
||||
tsk->signal->it_real_incr);
|
||||
tsk->signal->real_timer.base->softirq_time,
|
||||
tsk->signal->it_real_incr);
|
||||
|
||||
return HRTIMER_RESTART;
|
||||
}
|
||||
|
Reference in New Issue
Block a user