mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 01:51:39 +00:00
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>
This commit is contained in:
parent
01656464fc
commit
9dd8813ed9
4 changed files with 5 additions and 5 deletions
|
@ -2172,7 +2172,7 @@ static void spin(struct pktgen_dev *pkt_dev, ktime_t spin_until)
|
|||
} else {
|
||||
do {
|
||||
set_current_state(TASK_INTERRUPTIBLE);
|
||||
hrtimer_start_expires(&t.timer, HRTIMER_MODE_ABS);
|
||||
hrtimer_sleeper_start_expires(&t, HRTIMER_MODE_ABS);
|
||||
|
||||
if (likely(t.task))
|
||||
schedule();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue