Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 1 | #ifndef __ASM_ARCH_SYSTEM_H |
| 2 | #define __ASM_ARCH_SYSTEM_H |
| 3 | |
David Howells | 9f97da7 | 2012-03-28 18:30:01 +0100 | [diff] [blame^] | 4 | #include <asm/system_misc.h> |
| 5 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 6 | static inline void arch_idle(void) |
| 7 | { |
| 8 | cpu_do_idle(); |
| 9 | } |
| 10 | |
| 11 | static inline void arch_reset(char mode, const char *cmd) |
| 12 | { |
Russell King | e879c86 | 2011-11-01 13:16:26 +0000 | [diff] [blame] | 13 | soft_restart(0); |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | #endif |