aboutsummaryrefslogtreecommitdiffstats
path: root/litmus
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2017-05-28 16:20:11 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2017-05-28 16:24:00 -0400
commit546c77ba1df4f259f29fceec80d4d748426e5c91 (patch)
tree2aa6662d74e70b78af903c5e143fa98762ec6aaa /litmus
parent653815201ca8002a58458a2204d8410955288a33 (diff)
P-RES: remove misleading comment
The comment regarding hrtimer_start() is no longer valid in Linux 4.9.
Diffstat (limited to 'litmus')
-rw-r--r--litmus/sched_pres.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/litmus/sched_pres.c b/litmus/sched_pres.c
index f7fe3a31a42b..0170c6aba208 100644
--- a/litmus/sched_pres.c
+++ b/litmus/sched_pres.c
@@ -96,8 +96,6 @@ static void pres_update_timer_and_unlock(struct pres_cpu_state *state)
96 TRACE("canceling timer...\n"); 96 TRACE("canceling timer...\n");
97 hrtimer_cancel(&state->timer); 97 hrtimer_cancel(&state->timer);
98 TRACE("setting scheduler timer for %llu\n", update); 98 TRACE("setting scheduler timer for %llu\n", update);
99 /* We cannot use hrtimer_start() here because the
100 * wakeup flag must be set to zero. */
101 hrtimer_start(&state->timer, 99 hrtimer_start(&state->timer,
102 ns_to_ktime(update), 100 ns_to_ktime(update),
103 HRTIMER_MODE_ABS_PINNED); 101 HRTIMER_MODE_ABS_PINNED);