Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12d2b4e5 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Nicolas Pitre
Browse files

ARM: mach-ixp4xx: properly disable CPU idle call

parent 86ce0d2e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;

+0 −5
Original line number Diff line number Diff line
@@ -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
}