From: Thomas Gleixner Date: Tue, 12 Sep 2017 19:36:58 +0000 (+0200) Subject: parisc, watchdog/core: Use lockup_detector_stop() X-Git-Tag: v4.14-rc4~18^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47bb4baf7df43ac8bbc51c24022466972ba29ef1;p=platform%2Fkernel%2Flinux-exynos.git parisc, watchdog/core: Use lockup_detector_stop() The broken lockup_detector_suspend/resume() interface is going away. Use the new lockup_detector_soft_poweroff() interface to stop the watchdog from the busy looping power off routine. Signed-off-by: Thomas Gleixner Reviewed-by: Don Zickus Cc: Andrew Morton Cc: Borislav Petkov Cc: Chris Metcalf Cc: Helge Deller Cc: Linus Torvalds Cc: Nicholas Piggin Cc: Peter Zijlstra Cc: Sebastian Siewior Cc: Ulrich Obergfell Cc: linux-parisc@vger.kernel.org Link: http://lkml.kernel.org/r/20170912194146.407385557@linutronix.de Signed-off-by: Ingo Molnar --- diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index a45a67d..30f9239 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c @@ -146,7 +146,7 @@ void machine_power_off(void) /* prevent soft lockup/stalled CPU messages for endless loop. */ rcu_sysrq_start(); - lockup_detector_suspend(); + lockup_detector_soft_poweroff(); for (;;); }