Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | /* |
2 | * Copied from linux/include/asm-arm/arch-sa1100/system.h | ||||
3 | * Copyright (c) 1999 Nicolas Pitre <nico@cam.org> | ||||
4 | */ | ||||
5 | #ifndef __ASM_ARCH_SYSTEM_H | ||||
6 | #define __ASM_ARCH_SYSTEM_H | ||||
7 | #include <linux/config.h> | ||||
8 | #include <asm/arch/hardware.h> | ||||
9 | |||||
10 | static inline void arch_idle(void) | ||||
11 | { | ||||
12 | cpu_do_idle(); | ||||
13 | } | ||||
14 | |||||
15 | static inline void arch_reset(char mode) | ||||
16 | { | ||||
17 | omap_writew(1, ARM_RSTCT1); | ||||
18 | } | ||||
19 | |||||
20 | #endif |