aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r--net/sched/sch_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index ca6248345937..15e7beee266c 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -586,7 +586,7 @@ static enum hrtimer_restart qdisc_watchdog(struct hrtimer *timer)
586 586
587void qdisc_watchdog_init(struct qdisc_watchdog *wd, struct Qdisc *qdisc) 587void qdisc_watchdog_init(struct qdisc_watchdog *wd, struct Qdisc *qdisc)
588{ 588{
589 hrtimer_init(&wd->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); 589 hrtimer_init(&wd->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED);
590 wd->timer.function = qdisc_watchdog; 590 wd->timer.function = qdisc_watchdog;
591 wd->qdisc = qdisc; 591 wd->qdisc = qdisc;
592} 592}
@@ -602,7 +602,7 @@ void qdisc_watchdog_schedule_ns(struct qdisc_watchdog *wd, u64 expires)
602 602
603 hrtimer_start(&wd->timer, 603 hrtimer_start(&wd->timer,
604 ns_to_ktime(expires), 604 ns_to_ktime(expires),
605 HRTIMER_MODE_ABS); 605 HRTIMER_MODE_ABS_PINNED);
606} 606}
607EXPORT_SYMBOL(qdisc_watchdog_schedule_ns); 607EXPORT_SYMBOL(qdisc_watchdog_schedule_ns);
608 608