summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Engraf <david.engraf@sysgo.com>2011-07-20 15:03:39 +0200
committerWim Van Sebroeck <wim@iguana.be>2011-08-02 08:22:49 +0000
commitbea1906620ce72b63f83735c4cc2642b25ec54ae (patch)
treee96e96e0068ea332a4bb8dd3334f4de8c3d2e7f8 /lib
parentc027a474a68065391c8773f6e83ed5412657e369 (diff)
downloadlinux-3.10-bea1906620ce72b63f83735c4cc2642b25ec54ae.tar.gz
linux-3.10-bea1906620ce72b63f83735c4cc2642b25ec54ae.tar.bz2
linux-3.10-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 'lib')
0 files changed, 0 insertions, 0 deletions