summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ixp23xx/core.c
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-08-03 15:06:05 +0400
committerNicolas Pitre <nico@fluxnic.net>2012-01-21 03:55:15 +0400
commit86ce0d2e6f131bd0b5b1b8d32149e008d39b5ea1 (patch)
tree723b82d52f0838f9de1d5822a61b1340bab477ae /arch/arm/mach-ixp23xx/core.c
parent25eb433ab1aaa981cbb43b1d10c0d9377a50e8c9 (diff)
downloadlinux-86ce0d2e6f131bd0b5b1b8d32149e008d39b5ea1.tar.xz
ARM: mach-ixp23xx: properly disable CPU idle call
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-ixp23xx/core.c')
-rw-r--r--arch/arm/mach-ixp23xx/core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp23xx/core.c b/arch/arm/mach-ixp23xx/core.c
index 0923bb905cc0..7c1495e4fe7a 100644
--- a/arch/arm/mach-ixp23xx/core.c
+++ b/arch/arm/mach-ixp23xx/core.c
@@ -441,6 +441,9 @@ static struct platform_device *ixp23xx_devices[] __initdata = {
void __init ixp23xx_sys_init(void)
{
+ /* by default, the idle code is disabled */
+ disable_hlt();
+
*IXP23XX_EXP_UNIT_FUSE |= 0xf;
platform_add_devices(ixp23xx_devices, ARRAY_SIZE(ixp23xx_devices));
}