[PATCH] eurotechwdt build fix
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>
This commit is contained in:
parent
ae6578fe9b
commit
cc1d3a9a78
|
@ -167,7 +167,7 @@ static irqreturn_t eurwdt_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||||
printk(KERN_CRIT "Would Reboot.\n");
|
printk(KERN_CRIT "Would Reboot.\n");
|
||||||
#else
|
#else
|
||||||
printk(KERN_CRIT "Initiating system reboot.\n");
|
printk(KERN_CRIT "Initiating system reboot.\n");
|
||||||
emergency_restart(NULL);
|
emergency_restart();
|
||||||
#endif
|
#endif
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue