hrtimer: Provide hrtimer_sleeper_start_expires()
hrtimer_sleepers will gain a scheduling class dependent treatment on PREEMPT_RT. Create a wrapper around hrtimer_start_expires() to make that possible. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -408,6 +408,9 @@ static inline void hrtimer_start_expires(struct hrtimer *timer,
|
||||
hrtimer_start_range_ns(timer, soft, delta, mode);
|
||||
}
|
||||
|
||||
void hrtimer_sleeper_start_expires(struct hrtimer_sleeper *sl,
|
||||
enum hrtimer_mode mode);
|
||||
|
||||
static inline void hrtimer_restart(struct hrtimer *timer)
|
||||
{
|
||||
hrtimer_start_expires(timer, HRTIMER_MODE_ABS);
|
||||
|
Reference in New Issue
Block a user