diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-12-19 09:03:58 +0100 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2012-01-21 00:55:19 +0100 |
commit | ae940913030386884f259eb4d95ac4d93b57144f (patch) | |
tree | 0c3ca352424c7b1b56c9978d2b890b9915eb313a /arch/arm/mach-mxs/pm.c | |
parent | ARM: mach-tegra: properly disable CPU idle call (diff) | |
download | linux-ae940913030386884f259eb4d95ac4d93b57144f.tar.xz linux-ae940913030386884f259eb4d95ac4d93b57144f.zip |
ARM: substitute arch_idle()
Now that all implementations of arch_idle() are equivalent to cpu_do_idle()
we can just use the later directly and stop including mach/system.h.
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-and-tested-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-mxs/pm.c')
-rw-r--r-- | arch/arm/mach-mxs/pm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-mxs/pm.c b/arch/arm/mach-mxs/pm.c index fb042da29bda..a9b4bbcdafb4 100644 --- a/arch/arm/mach-mxs/pm.c +++ b/arch/arm/mach-mxs/pm.c @@ -15,13 +15,12 @@ #include <linux/kernel.h> #include <linux/suspend.h> #include <linux/io.h> -#include <mach/system.h> static int mxs_suspend_enter(suspend_state_t state) { switch (state) { case PM_SUSPEND_MEM: - arch_idle(); + cpu_do_idle(); break; default: |