diff options
Diffstat (limited to 'arch/arm/mach-lpc32xx/include/mach/system.h')
-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) | |||
26 | 26 | ||
27 | static inline void arch_reset(char mode, const char *cmd) | 27 | static inline void arch_reset(char mode, const char *cmd) |
28 | { | 28 | { |
29 | extern void lpc32xx_watchdog_reset(void); | ||
30 | |||
31 | switch (mode) { | ||
32 | case 's': | ||
33 | case 'h': | ||
34 | printk(KERN_CRIT "RESET: Rebooting system\n"); | ||
35 | |||
36 | lpc32xx_watchdog_reset(); | ||
37 | break; | ||
38 | |||
39 | default: | ||
40 | /* Do nothing */ | ||
41 | break; | ||
42 | } | ||
43 | |||
44 | /* Wait for watchdog to reset system */ | ||
45 | while (1) | ||
46 | ; | ||
47 | } | 29 | } |
48 | 30 | ||
49 | #endif | 31 | #endif |