Skip to content

Commit

Permalink
ARM: mach-ixp23xx: properly disable CPU idle call
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
  • Loading branch information
Nicolas Pitre authored and Nicolas Pitre committed Jan 20, 2012
1 parent 25eb433 commit 86ce0d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-ixp23xx/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down
5 changes: 1 addition & 4 deletions arch/arm/mach-ixp23xx/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@
*/
static inline void arch_idle(void)
{
#if 0
if (!hlt_counter)
cpu_do_idle();
#endif
cpu_do_idle();
}

0 comments on commit 86ce0d2

Please sign in to comment.