Eric Miao | 49cbe78 | 2009-01-20 14:15:18 +0800 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/arm/mach-mmp/include/mach/system.h |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | #ifndef __ASM_MACH_SYSTEM_H |
| 10 | #define __ASM_MACH_SYSTEM_H |
| 11 | |
| 12 | static inline void arch_idle(void) |
| 13 | { |
| 14 | cpu_do_idle(); |
| 15 | } |
| 16 | |
Russell King | 8f6aef9 | 2009-03-29 17:14:45 +0100 | [diff] [blame] | 17 | static inline void arch_reset(char mode, const char *cmd) |
Eric Miao | 49cbe78 | 2009-01-20 14:15:18 +0800 | [diff] [blame] | 18 | { |
| 19 | cpu_reset(0); |
| 20 | } |
| 21 | #endif /* __ASM_MACH_SYSTEM_H */ |