diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-05 13:17:40 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-05 13:57:15 +0100 |
commit | b23fcd9035a35b032c624ac2f23f40ea941d5355 (patch) | |
tree | a9727f35b03a98626ba235a0947a4e5d80002a1b /arch/arm/mach-lpc32xx/include | |
parent | ARM: restart: ks8695: use new restart hook (diff) | |
download | linux-b23fcd9035a35b032c624ac2f23f40ea941d5355.tar.xz linux-b23fcd9035a35b032c624ac2f23f40ea941d5355.zip |
ARM: restart: lpc32xx: use new restart hook
Hook these platforms restart code into the arm_pm_restart hook rather
than using arch_reset().
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-lpc32xx/include')
-rw-r--r-- | arch/arm/mach-lpc32xx/include/mach/system.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-lpc32xx/include/mach/system.h b/arch/arm/mach-lpc32xx/include/mach/system.h index d47f3b1c24b8..9c6cc0c7dd46 100644 --- a/arch/arm/mach-lpc32xx/include/mach/system.h +++ b/arch/arm/mach-lpc32xx/include/mach/system.h @@ -26,24 +26,6 @@ static void arch_idle(void) static inline void arch_reset(char mode, const char *cmd) { - extern void lpc32xx_watchdog_reset(void); - - switch (mode) { - case 's': - case 'h': - printk(KERN_CRIT "RESET: Rebooting system\n"); - - lpc32xx_watchdog_reset(); - break; - - default: - /* Do nothing */ - break; - } - - /* Wait for watchdog to reset system */ - while (1) - ; } #endif |