summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/include/mach/system.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-08-03 17:34:59 +0200
committerNicolas Pitre <nico@fluxnic.net>2012-01-21 00:55:15 +0100
commit25eb433ab1aaa981cbb43b1d10c0d9377a50e8c9 (patch)
tree01b9f8dd9ff5605eb2c831f1e4aa81dcab751395 /arch/arm/mach-msm/include/mach/system.h
parentARM: plat-mxc: hook special idle handlers to arm_pm_idle (diff)
downloadlinux-25eb433ab1aaa981cbb43b1d10c0d9377a50e8c9.tar.xz
linux-25eb433ab1aaa981cbb43b1d10c0d9377a50e8c9.zip
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/mach/system.h')
-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