From dad4b7b4f91d9fbd8d2e5102a77cf95a6c2e1556 Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Wed, 3 Aug 2011 07:06:05 -0400 Subject: [PATCH] --- yaml --- r: 295330 b: refs/heads/master c: 86ce0d2e6f131bd0b5b1b8d32149e008d39b5ea1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-ixp23xx/core.c | 3 +++ trunk/arch/arm/mach-ixp23xx/include/mach/system.h | 5 +---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index f55eaa93cd4b..bcf14b8845f3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 25eb433ab1aaa981cbb43b1d10c0d9377a50e8c9 +refs/heads/master: 86ce0d2e6f131bd0b5b1b8d32149e008d39b5ea1 diff --git a/trunk/arch/arm/mach-ixp23xx/core.c b/trunk/arch/arm/mach-ixp23xx/core.c index 0923bb905cc0..7c1495e4fe7a 100644 --- a/trunk/arch/arm/mach-ixp23xx/core.c +++ b/trunk/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)); } diff --git a/trunk/arch/arm/mach-ixp23xx/include/mach/system.h b/trunk/arch/arm/mach-ixp23xx/include/mach/system.h index 277dda7334b9..69f80006fc80 100644 --- a/trunk/arch/arm/mach-ixp23xx/include/mach/system.h +++ b/trunk/arch/arm/mach-ixp23xx/include/mach/system.h @@ -9,8 +9,5 @@ */ static inline void arch_idle(void) { -#if 0 - if (!hlt_counter) - cpu_do_idle(); -#endif + cpu_do_idle(); }