[PATCH] eurotechwdt build fix
authorAndrew Morton <akpm@osdl.org>
Wed, 27 Jul 2005 04:41:37 +0000 (21:41 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 04:48:54 +0000 (21:48 -0700)
drivers/char/watchdog/eurotechwdt.c:165: too many arguments to function `emergency_restart'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/watchdog/eurotechwdt.c

index f1016e3ba117f5de876078b619d22575df68dd96..2a29a511df7fb1fd0296a4cdaf58137f9d550727 100644 (file)
@@ -167,7 +167,7 @@ static irqreturn_t eurwdt_interrupt(int irq, void *dev_id, struct pt_regs *regs)
        printk(KERN_CRIT "Would Reboot.\n");
 #else
        printk(KERN_CRIT "Initiating system reboot.\n");
-       emergency_restart(NULL);
+       emergency_restart();
 #endif
        return IRQ_HANDLED;
 }