ARM: mach-shark: properly disable CPU idle call
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
This commit is contained in:
committed by
Nicolas Pitre
parent
12d2b4e5f0
commit
e5ddf4e352
@@ -149,10 +149,16 @@ static struct sys_timer shark_timer = {
|
|||||||
.init = shark_timer_init,
|
.init = shark_timer_init,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static void shark_init_early(void)
|
||||||
|
{
|
||||||
|
disable_hlt();
|
||||||
|
}
|
||||||
|
|
||||||
MACHINE_START(SHARK, "Shark")
|
MACHINE_START(SHARK, "Shark")
|
||||||
/* Maintainer: Alexander Schulz */
|
/* Maintainer: Alexander Schulz */
|
||||||
.atag_offset = 0x3000,
|
.atag_offset = 0x3000,
|
||||||
.map_io = shark_map_io,
|
.map_io = shark_map_io,
|
||||||
|
.init_early = shark_init_early,
|
||||||
.init_irq = shark_init_irq,
|
.init_irq = shark_init_irq,
|
||||||
.timer = &shark_timer,
|
.timer = &shark_timer,
|
||||||
.dma_zone_size = SZ_4M,
|
.dma_zone_size = SZ_4M,
|
||||||
|
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
static inline void arch_idle(void)
|
static inline void arch_idle(void)
|
||||||
{
|
{
|
||||||
|
cpu_do_idle();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user