diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-09-28 17:16:06 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-10-04 10:55:06 +0200 |
commit | 41e7daf27a321848adcfcea9764ac8665133f3ea (patch) | |
tree | 9bc9f65b5a0b1a5b1e13ec31e2c919ca307eb559 /arch/arm/mach-mx5/system.c | |
parent | ddd5f51bf661f49fb5f2be371ff1cf9cfe5fa98b (diff) | |
download | blackbird-op-linux-41e7daf27a321848adcfcea9764ac8665133f3ea.tar.gz blackbird-op-linux-41e7daf27a321848adcfcea9764ac8665133f3ea.zip |
arm/imx: remove cpu_is_xxx() from arch_idle()
This patch adds an idle hook imx_idle to be called in arch_idle().
Any soc that needs a customized idle implementation other than
cpu_do_idle() can set up this hook in soc specific call.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/system.c')
-rw-r--r-- | arch/arm/mach-mx5/system.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/system.c b/arch/arm/mach-mx5/system.c index 76ae8dc33e00..144ebebc4a61 100644 --- a/arch/arm/mach-mx5/system.c +++ b/arch/arm/mach-mx5/system.c @@ -13,6 +13,7 @@ #include <linux/platform_device.h> #include <linux/io.h> #include <mach/hardware.h> +#include <mach/common.h> #include "crm_regs.h" /* set cpu low power mode before WFI instruction. This function is called |