OMAP: Add new function to check wether there is irq pending
[linux-ginger.git] / arch / arm / mach-davinci / include / mach / system.h
blobb7e7036674fafe55704cc1aed2d92637e115b011
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 <linux/io.h>
15 #include <mach/hardware.h>
17 extern void davinci_watchdog_reset(void);
19 static void arch_idle(void)
21 cpu_do_idle();
24 static void arch_reset(char mode, const char *cmd)
26 davinci_watchdog_reset();
29 #endif /* __ASM_ARCH_SYSTEM_H */