Project

General

Profile

Actions

Feature #3340

open

142: Usage of mod_timer()

Added by Vladimir Gratinskiy over 12 years ago.

Status:
Open
Priority:
Normal
Start date:
08/14/2012
Due date:
% Done:

10%

Estimated time:
Published in build:

Description

It's necessary to use absolute time instead of relative for mode_timer().
The old implementation used a relative timeout thus the hardware watchdog was never triggered.
Commit f9e4715 show how to use it:

-#define next_ping_period(cks) msecs_to_jiffies(cks - 4)
+#define next_ping_period(cks) (jiffies + msecs_to_jiffies(cks - 4))

No data to display

Actions

Also available in: Atom PDF