ARM: mach-ixp23xx: properly disable CPU idle call
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
This commit is contained in:
parent
25eb433ab1
commit
86ce0d2e6f
2 changed files with 4 additions and 4 deletions
|
@ -441,6 +441,9 @@ static struct platform_device *ixp23xx_devices[] __initdata = {
|
||||||
|
|
||||||
void __init ixp23xx_sys_init(void)
|
void __init ixp23xx_sys_init(void)
|
||||||
{
|
{
|
||||||
|
/* by default, the idle code is disabled */
|
||||||
|
disable_hlt();
|
||||||
|
|
||||||
*IXP23XX_EXP_UNIT_FUSE |= 0xf;
|
*IXP23XX_EXP_UNIT_FUSE |= 0xf;
|
||||||
platform_add_devices(ixp23xx_devices, ARRAY_SIZE(ixp23xx_devices));
|
platform_add_devices(ixp23xx_devices, ARRAY_SIZE(ixp23xx_devices));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,5 @@
|
||||||
*/
|
*/
|
||||||
static inline void arch_idle(void)
|
static inline void arch_idle(void)
|
||||||
{
|
{
|
||||||
#if 0
|
cpu_do_idle();
|
||||||
if (!hlt_counter)
|
|
||||||
cpu_do_idle();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue