/* Error interrupts. These are used extensively by the microengine drivers  */
static void ixp2000_err_irq_handler(unsigned int irq, struct irq_desc *desc)
/* Error interrupts. These are used extensively by the microengine drivers  */
static void ixp2000_err_irq_handler(unsigned int irq, struct irq_desc *desc)
{
	int i;
	unsigned long status = *IXP2000_IRQ_ERR_STATUS;
	for(i = 31; i >= 0; i--) {
		if(status & (1 << i)) {
			generic_handle_irq(IRQ_IXP2000_DRAM0_MIN_ERR + i);
		}
	}
}