summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lpc32xx/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-05 13:17:40 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 13:57:15 +0100
commitb23fcd9035a35b032c624ac2f23f40ea941d5355 (patch)
treea9727f35b03a98626ba235a0947a4e5d80002a1b /arch/arm/mach-lpc32xx/include
parentARM: restart: ks8695: use new restart hook (diff)
downloadlinux-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.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