viresh kumar | bf976b5 | 2010-04-01 12:30:42 +0100 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/plat-spear/include/plat/system.h |
| 3 | * |
| 4 | * SPEAr platform specific architecture functions |
| 5 | * |
| 6 | * Copyright (C) 2009 ST Microelectronics |
| 7 | * Viresh Kumar<viresh.kumar@st.com> |
| 8 | * |
| 9 | * This file is licensed under the terms of the GNU General Public |
| 10 | * License version 2. This program is licensed "as is" without any |
| 11 | * warranty of any kind, whether express or implied. |
| 12 | */ |
| 13 | |
| 14 | #ifndef __PLAT_SYSTEM_H |
| 15 | #define __PLAT_SYSTEM_H |
| 16 | |
viresh kumar | bf976b5 | 2010-04-01 12:30:42 +0100 | [diff] [blame] | 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 | |
viresh kumar | bf976b5 | 2010-04-01 12:30:42 +0100 | [diff] [blame] | 26 | #endif /* __PLAT_SYSTEM_H */ |