Staging: hv: mousevsc: Cleanup alloc_input_device()
[zen-stable.git] / arch / arm / mach-davinci / include / mach / system.h
blobe65629c20769047ec4900d89f3bee1e09ac552fc
1 /*
2 * DaVinci system defines
4 * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
6 * 2007 (c) MontaVista Software, Inc. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
9 * or implied.
11 #ifndef __ASM_ARCH_SYSTEM_H
12 #define __ASM_ARCH_SYSTEM_H
14 #include <mach/common.h>
16 static inline void arch_idle(void)
18 cpu_do_idle();
21 static inline void arch_reset(char mode, const char *cmd)
23 if (davinci_soc_info.reset)
24 davinci_soc_info.reset(davinci_soc_info.reset_device);
27 #endif /* __ASM_ARCH_SYSTEM_H */