Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / arch / arm / mach-davinci / include / mach / system.h
CommitLineData
7c6337e2
KH
1/*
2 * DaVinci system defines
3 *
4 * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
5 *
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.
10 */
11#ifndef __ASM_ARCH_SYSTEM_H
12#define __ASM_ARCH_SYSTEM_H
13
c78a5bc2 14#include <mach/common.h>
7c6337e2 15
6077d265 16static inline void arch_idle(void)
7c6337e2
KH
17{
18 cpu_do_idle();
19}
20
6077d265 21static inline void arch_reset(char mode, const char *cmd)
7c6337e2 22{
c78a5bc2
CC
23 if (davinci_soc_info.reset)
24 davinci_soc_info.reset(davinci_soc_info.reset_device);
7c6337e2
KH
25}
26
27#endif /* __ASM_ARCH_SYSTEM_H */