diff options
Diffstat (limited to 'litmus/sched_pres.c')
-rw-r--r-- | litmus/sched_pres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/litmus/sched_pres.c b/litmus/sched_pres.c index dae65e376bd4..82644a18c147 100644 --- a/litmus/sched_pres.c +++ b/litmus/sched_pres.c | |||
@@ -98,7 +98,7 @@ static void pres_update_timer_and_unlock(struct pres_cpu_state *state) | |||
98 | TRACE("setting scheduler timer for %llu\n", update); | 98 | TRACE("setting scheduler timer for %llu\n", update); |
99 | hrtimer_start(&state->timer, | 99 | hrtimer_start(&state->timer, |
100 | ns_to_ktime(update), | 100 | ns_to_ktime(update), |
101 | HRTIMER_MODE_ABS_PINNED); | 101 | HRTIMER_MODE_ABS_PINNED_HARD); |
102 | if (update < litmus_clock()) { | 102 | if (update < litmus_clock()) { |
103 | /* uh oh, timer expired while trying to set it */ | 103 | /* uh oh, timer expired while trying to set it */ |
104 | TRACE("timer expired during setting " | 104 | TRACE("timer expired during setting " |
@@ -545,7 +545,7 @@ static long pres_activate_plugin(void) | |||
545 | 545 | ||
546 | sup_init(&state->sup_env); | 546 | sup_init(&state->sup_env); |
547 | 547 | ||
548 | hrtimer_init(&state->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED); | 548 | hrtimer_init(&state->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED_HARD); |
549 | state->timer.function = on_scheduling_timer; | 549 | state->timer.function = on_scheduling_timer; |
550 | } | 550 | } |
551 | 551 | ||