aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/android
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-07-30 21:16:55 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-08-01 17:43:16 +0200
commit9dd8813ed9f6e2bba75434abc6c8bb06c3d87fdc (patch)
tree14cf303cd887511dd737e79c85ae655b9e33a032 /drivers/staging/android
parenthrtimer: Provide hrtimer_sleeper_start_expires() (diff)
downloadlinux-dev-9dd8813ed9f6e2bba75434abc6c8bb06c3d87fdc.tar.xz
linux-dev-9dd8813ed9f6e2bba75434abc6c8bb06c3d87fdc.zip
hrtimer/treewide: Use hrtimer_sleeper_start_expires()
hrtimer_sleepers will gain a scheduling class dependent treatment on PREEMPT_RT. Use the new hrtimer_sleeper_start_expires() function to make that possible. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r--drivers/staging/android/vsoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/vsoc.c b/drivers/staging/android/vsoc.c
index 2d6b3981afb8..1240bb0317d9 100644
--- a/drivers/staging/android/vsoc.c
+++ b/drivers/staging/android/vsoc.c
@@ -458,7 +458,7 @@ static int handle_vsoc_cond_wait(struct file *filp, struct vsoc_cond_wait *arg)
break;
}
if (to) {
- hrtimer_start_expires(&to->timer, HRTIMER_MODE_ABS);
+ hrtimer_sleeper_start_expires(to, HRTIMER_MODE_ABS);
if (likely(to->task))
freezable_schedule();
hrtimer_cancel(&to->timer);