mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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>
This commit is contained in:
parent
df78488de7
commit
2ff678b8da
7 changed files with 65 additions and 68 deletions
|
@ -801,10 +801,10 @@ static inline int copy_signal(unsigned long clone_flags, struct task_struct * ts
|
|||
init_sigpending(&sig->shared_pending);
|
||||
INIT_LIST_HEAD(&sig->posix_timers);
|
||||
|
||||
sig->it_real_value = sig->it_real_incr = 0;
|
||||
hrtimer_init(&sig->real_timer, CLOCK_MONOTONIC);
|
||||
sig->it_real_incr.tv64 = 0;
|
||||
sig->real_timer.function = it_real_fn;
|
||||
sig->real_timer.data = (unsigned long) tsk;
|
||||
init_timer(&sig->real_timer);
|
||||
sig->real_timer.data = tsk;
|
||||
|
||||
sig->it_virt_expires = cputime_zero;
|
||||
sig->it_virt_incr = cputime_zero;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue