Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2009 ST-Ericsson. |
| 3 | * |
| 4 | * This file is licensed under the terms of the GNU General Public |
| 5 | * License version 2. This program is licensed "as is" without any |
| 6 | * warranty of any kind, whether express or implied. |
| 7 | */ |
| 8 | #ifndef __ASM_ARCH_SYSTEM_H |
| 9 | #define __ASM_ARCH_SYSTEM_H |
| 10 | |
| 11 | static inline void arch_idle(void) |
| 12 | { |
| 13 | /* |
| 14 | * This should do all the clock switching |
| 15 | * and wait for interrupt tricks |
| 16 | */ |
| 17 | cpu_do_idle(); |
| 18 | } |
| 19 | |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 20 | #endif |