ARM: mach-ixp4xx: properly disable CPU idle call

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
This commit is contained in:
Nicolas Pitre 2011-08-03 07:25:39 -04:00 committed by Nicolas Pitre
parent 86ce0d2e6f
commit 12d2b4e5f0
2 changed files with 6 additions and 5 deletions

View File

@ -236,6 +236,12 @@ void __init ixp4xx_init_irq(void)
{ {
int i = 0; 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 */ /* Route all sources to IRQ instead of FIQ */
*IXP4XX_ICLR = 0x0; *IXP4XX_ICLR = 0x0;

View File

@ -10,10 +10,5 @@
*/ */
static inline void arch_idle(void) 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(); cpu_do_idle();
#endif
} }