Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[pandora-kernel.git] / arch / arm / mach-cns3xxx / include / mach / system.h
1 /*
2  * Copyright 2000 Deep Blue Solutions Ltd
3  * Copyright 2003 ARM Limited
4  * Copyright 2008 Cavium Networks
5  *
6  * This file is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License, Version 2, as
8  * published by the Free Software Foundation.
9  */
10
11 #ifndef __MACH_SYSTEM_H
12 #define __MACH_SYSTEM_H
13
14 #include <linux/io.h>
15 #include <asm/proc-fns.h>
16
17 static inline void arch_idle(void)
18 {
19         /*
20          * This should do all the clock switching
21          * and wait for interrupt tricks
22          */
23         cpu_do_idle();
24 }
25
26 void arch_reset(char mode, const char *cmd);
27
28 #endif