提交 12d2b4e5 编写于 作者: N Nicolas Pitre 提交者: Nicolas Pitre

ARM: mach-ixp4xx: properly disable CPU idle call

Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
上级 86ce0d2e
......@@ -236,6 +236,12 @@ void __init ixp4xx_init_irq(void)
{
int i = 0;
/*
* ixp4xx does not implement the XScale PWRMODE register
* so it must not call cpu_do_idle().
*/
disable_hlt();
/* Route all sources to IRQ instead of FIQ */
*IXP4XX_ICLR = 0x0;
......
......@@ -10,10 +10,5 @@
*/
static inline void arch_idle(void)
{
/* ixp4xx does not implement the XScale PWRMODE register,
* so it must not call cpu_do_idle() here.
*/
#if 0
cpu_do_idle();
#endif
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册