diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-09-26 00:03:17 +0000 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-09-26 00:00:22 -0700 |
commit | 1a9607a3be14a43868c5e6a35962e7f6be9bcfe1 (patch) | |
tree | cd509ccd7eaf3c43a9c5379493a51b96061eada0 /drivers/watchdog/moxart_wdt.c | |
parent | 1c7ffc32eaadfae3e7ab106359af0cf21b7e94c1 (diff) | |
download | lwn-1a9607a3be14a43868c5e6a35962e7f6be9bcfe1.tar.gz lwn-1a9607a3be14a43868c5e6a35962e7f6be9bcfe1.zip |
arm: support restart through restart handler call chain
The kernel core now supports a restart handler call chain for system
restart functions.
With this change, the arm_pm_restart callback is now optional, so drop its
initialization and check if it is set before calling it. Only call the
kernel restart handler if arm_pm_restart is not set.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jonas Jensen <jonas.jensen@gmail.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tomasz Figa <t.figa@samsung.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/watchdog/moxart_wdt.c')
0 files changed, 0 insertions, 0 deletions