/* Level triggered interrupts on GPIO lines can only be cleared when the interrupt condition disappears.  */
static void ixp4xx_irq_unmask(unsigned int irq)
/* Level triggered interrupts on GPIO lines can only be cleared when the interrupt condition disappears.  */
static void ixp4xx_irq_unmask(unsigned int irq)
{
	if (!(ixp4xx_irq_edge & (1 << irq)))
		ixp4xx_irq_ack(irq);
	if ((cpu_is_ixp46x() || cpu_is_ixp43x()) && irq >= 32)
		*IXP4XX_ICMR2 |= (1 << (irq - 32));
	else
		*IXP4XX_ICMR |= (1 << irq);
}