summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/include
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-08-03 11:34:59 -0400
committerNicolas Pitre <nico@fluxnic.net>2012-01-20 18:55:15 -0500
commit25eb433ab1aaa981cbb43b1d10c0d9377a50e8c9 (patch)
tree01b9f8dd9ff5605eb2c831f1e4aa81dcab751395 /arch/arm/mach-msm/include
parent4a3ea24405de36181b6ce074e110ee7efe110297 (diff)
downloadlinux-rt-25eb433ab1aaa981cbb43b1d10c0d9377a50e8c9.tar.gz
ARM: mach-msm: hook special idle handlers to arm_pm_idle
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/include')
-rw-r--r--arch/arm/mach-msm/include/mach/system.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/include/mach/system.h b/arch/arm/mach-msm/include/mach/system.h
index 311db2b35da0..f2c049526bc6 100644
--- a/arch/arm/mach-msm/include/mach/system.h
+++ b/arch/arm/mach-msm/include/mach/system.h
@@ -12,7 +12,10 @@
* GNU General Public License for more details.
*
*/
-void arch_idle(void);
+static inline void arch_idle(void)
+{
+ cpu_do_idle();
+}
/* low level hardware reset hook -- for example, hitting the
* PSHOLD line on the PMIC to hard reset the system