Change irq flow handler to prepare for killing the first parameter 'irq' of irq_flow_handler_t. Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx> --- arch/unicore32/kernel/irq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/unicore32/kernel/irq.c b/arch/unicore32/kernel/irq.c index 0be5ccd7ccd2..56fdd4dd2740 100644 --- a/arch/unicore32/kernel/irq.c +++ b/arch/unicore32/kernel/irq.c @@ -113,19 +113,20 @@ static struct irq_chip puv3_low_gpio_chip = { * and call the handler. */ static void -puv3_gpio_handler(unsigned int irq, struct irq_desc *desc) +puv3_gpio_handler(unsigned int __irq, struct irq_desc *desc) { unsigned int mask; mask = readl(GPIO_GEDR); do { + unsigned int irq = IRQ_GPIO0; + /* * clear down all currently active IRQ sources. * We will be processing them all. */ writel(mask, GPIO_GEDR); - irq = IRQ_GPIO0; do { if (mask & 1) generic_handle_irq(irq); -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html