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

Commit b0fee1dc authored by Marc Zyngier's avatar Marc Zyngier Committed by Jason Cooper
Browse files

irqchip: or1k-pic: Convert to handle_domain_irq

parent 31b7b6a8
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -113,7 +113,7 @@ static inline int pic_get_irq(int first)
	else
	else
		hwirq = hwirq + first - 1;
		hwirq = hwirq + first - 1;


	return irq_find_mapping(root_domain, hwirq);
	return hwirq;
}
}


static void or1k_pic_handle_irq(struct pt_regs *regs)
static void or1k_pic_handle_irq(struct pt_regs *regs)
@@ -121,7 +121,7 @@ static void or1k_pic_handle_irq(struct pt_regs *regs)
	int irq = -1;
	int irq = -1;


	while ((irq = pic_get_irq(irq + 1)) != NO_IRQ)
	while ((irq = pic_get_irq(irq + 1)) != NO_IRQ)
		handle_IRQ(irq, regs);
		handle_domain_irq(root_domain, irq, regs);
}
}


static int or1k_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw)
static int or1k_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw)