Message ID | 1433391238-19471-29-git-send-email-jiang.liu@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
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);
Change irq flow handler to prepare for killing the first parameter 'irq' of irq_flow_handler_t. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> --- arch/unicore32/kernel/irq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)