Commit | Line | Data |
---|---|---|
bf976b51 VK |
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 | ||
bf976b51 VK |
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 | ||
bf976b51 | 26 | #endif /* __PLAT_SYSTEM_H */ |