Skip to content

Commit

Permalink
ARM: mach-ixp4xx: 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 86ce0d2 commit 12d2b4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions arch/arm/mach-ixp4xx/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
5 changes: 0 additions & 5 deletions arch/arm/mach-ixp4xx/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 12d2b4e

Please sign in to comment.