Skip to content

Commit

Permalink
ARM: mach-shark: 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 12d2b4e commit e5ddf4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/mach-shark/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,16 @@ static struct sys_timer shark_timer = {
.init = shark_timer_init,
};

static void shark_init_early(void)
{
disable_hlt();
}

MACHINE_START(SHARK, "Shark")
/* Maintainer: Alexander Schulz */
.atag_offset = 0x3000,
.map_io = shark_map_io,
.init_early = shark_init_early,
.init_irq = shark_init_irq,
.timer = &shark_timer,
.dma_zone_size = SZ_4M,
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-shark/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

static inline void arch_idle(void)
{
cpu_do_idle();
}

#endif

0 comments on commit e5ddf4e

Please sign in to comment.