diff options
author | 2011-07-20 15:03:39 +0200 | |
---|---|---|
committer | 2011-08-02 08:22:49 +0000 | |
commit | bea1906620ce72b63f83735c4cc2642b25ec54ae (patch) | |
tree | e96e96e0068ea332a4bb8dd3334f4de8c3d2e7f8 /include/linux/dmaengine.h | |
parent | oom: task->mm == NULL doesn't mean the memory was freed (diff) | |
download | wireguard-linux-bea1906620ce72b63f83735c4cc2642b25ec54ae.tar.xz wireguard-linux-bea1906620ce72b63f83735c4cc2642b25ec54ae.zip |
watchdog: shwdt: fix usage of mod_timer
Fix the usage of mod_timer() and make the driver usable. mod_timer() must
be called with an absolute timeout in jiffies. The old implementation
used a relative timeout thus the hardware watchdog was never triggered.
Signed-off-by: David Engraf <david.engraf@sysgo.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Wim Van sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: stable <stable@kernel.org>
Diffstat (limited to 'include/linux/dmaengine.h')
0 files changed, 0 insertions, 0 deletions