From: Andrew Morton Date: Wed, 27 Jul 2005 04:41:38 +0000 (-0700) Subject: [PATCH] softdog build fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=479d0f41e50646a618c43f69af7af31a8f748433;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [PATCH] softdog build fix drivers/char/watchdog/softdog.c:94: too many arguments to function `emergency_restart' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/watchdog/softdog.c b/drivers/char/watchdog/softdog.c index 0d93097f06b4..98c7578740e2 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"); } }