x86/xen: fix arbitrary_virt_to_machine()
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-arm / arch-orion5x / system.h
blob3f1d1e2d38f8ae53ae88396e59ddde35f2f193f1
1 /*
2 * include/asm-arm/arch-orion5x/system.h
4 * Tzachi Perelstein <tzachi@marvell.com>
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
11 #ifndef __ASM_ARCH_SYSTEM_H
12 #define __ASM_ARCH_SYSTEM_H
14 #include <asm/arch/hardware.h>
15 #include <asm/arch/orion5x.h>
17 static inline void arch_idle(void)
19 cpu_do_idle();
22 static inline void arch_reset(char mode)
25 * Enable and issue soft reset
27 orion5x_setbits(CPU_RESET_MASK, (1 << 2));
28 orion5x_setbits(CPU_SOFT_RESET, 1);
32 #endif