summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-07-26 21:41:38 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-26 21:48:54 -0700
commit479d0f41e50646a618c43f69af7af31a8f748433 (patch)
tree37ffd2f69eb51d25916bebeb07e56b7c8b4b2d33
parentcc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1 (diff)
[PATCH] softdog build fix
drivers/char/watchdog/softdog.c:94: too many arguments to function `emergency_restart' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/char/watchdog/softdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/softdog.c b/drivers/char/watchdog/softdog.c
index 0d93097f06b..98c7578740e 100644
--- a/drivers/char/watchdog/softdog.c
+++ b/drivers/char/watchdog/softdog.c
@@ -97,7 +97,7 @@ static void watchdog_fire(unsigned long data)
else
{
printk(KERN_CRIT PFX "Initiating system reboot.\n");
- emergency_restart(NULL);
+ emergency_restart();
printk(KERN_CRIT PFX "Reboot didn't ?????\n");
}
}