[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210923153339.561136215@linutronix.de>
Date: Thu, 23 Sep 2021 18:04:23 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Peter Zijlstra <peterz@...radead.org>,
Loic Poulain <loic.poulain@...aro.org>, netdev@...r.kernel.org,
Sergey Ryazanov <ryazanov.s.a@...il.com>,
Jakub Kicinski <kuba@...nel.org>,
M Chetan Kumar <m.chetan.kumar@...el.com>,
Johannes Berg <johannes@...solutions.net>,
"David S. Miller" <davem@...emloft.net>,
Intel Corporation <linuxwwan@...el.com>
Subject: [patch 03/11] net: iosm: Use hrtimer_forward_now()
hrtimer_forward_now() is providing the same functionality. Preparation for
making hrtimer_forward() timer core code only.
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Loic Poulain <loic.poulain@...aro.org>
Cc: netdev@...r.kernel.org
Cc: Sergey Ryazanov <ryazanov.s.a@...il.com>
Cc: Jakub Kicinski <kuba@...nel.org>
Cc: M Chetan Kumar <m.chetan.kumar@...el.com>
Cc: Johannes Berg <johannes@...solutions.net>
Cc: "David S. Miller" <davem@...emloft.net>
Cc: Intel Corporation <linuxwwan@...el.com>
---
drivers/net/wwan/iosm/iosm_ipc_imem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/net/wwan/iosm/iosm_ipc_imem.c
+++ b/drivers/net/wwan/iosm/iosm_ipc_imem.c
@@ -482,8 +482,8 @@ static enum hrtimer_restart ipc_imem_sta
container_of(hr_timer, struct iosm_imem, startup_timer);
if (ktime_to_ns(ipc_imem->hrtimer_period)) {
- hrtimer_forward(&ipc_imem->startup_timer, ktime_get(),
- ipc_imem->hrtimer_period);
+ hrtimer_forward_now(&ipc_imem->startup_timer,
+ ipc_imem->hrtimer_period);
result = HRTIMER_RESTART;
}
Powered by blists - more mailing lists