aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorDavid Engraf <[email protected]>2011-07-20 13:03:39 +0000
committerWim Van Sebroeck <[email protected]>2011-08-02 08:22:49 +0000
commitbea1906620ce72b63f83735c4cc2642b25ec54ae (patch)
treee96e96e0068ea332a4bb8dd3334f4de8c3d2e7f8 /lib/fault-inject.c
parentoom: task->mm == NULL doesn't mean the memory was freed (diff)
downloadkernel-bea1906620ce72b63f83735c4cc2642b25ec54ae.tar.gz
kernel-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 <[email protected]> Signed-off-by: Paul Mundt <[email protected]> Signed-off-by: Wim Van sebroeck <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: stable <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions