summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lpc32xx/include/mach
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-05 12:17:40 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 12:57:15 +0000
commitb23fcd9035a35b032c624ac2f23f40ea941d5355 (patch)
treea9727f35b03a98626ba235a0947a4e5d80002a1b /arch/arm/mach-lpc32xx/include/mach
parent114c19b7b53523a6304c4b4fc51a22d006da3726 (diff)
downloadlinux-b23fcd9035a35b032c624ac2f23f40ea941d5355.tar.bz2
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/mach')
-rw-r--r--arch/arm/mach-lpc32xx/include/mach/system.h18
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