From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Jiang Liu To: Thomas Gleixner , Bjorn Helgaas , Benjamin Herrenschmidt , Ingo Molnar , "H. Peter Anvin" , Randy Dunlap , Yinghai Lu , Borislav Petkov , Guan Xuetao Cc: Jiang Liu , Konrad Rzeszutek Wilk , Tony Luck , x86@kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [RFT v2 28/48] unicore32, irq: Prepare for killing the first parameter 'irq' of irq_flow_handler_t Date: Thu, 4 Jun 2015 12:13:38 +0800 Message-Id: <1433391238-19471-29-git-send-email-jiang.liu@linux.intel.com> In-Reply-To: <1433391238-19471-1-git-send-email-jiang.liu@linux.intel.com> References: <1433391238-19471-1-git-send-email-jiang.liu@linux.intel.com> Sender: linux-acpi-owner@vger.kernel.org List-ID: Change irq flow handler to prepare for killing the first parameter 'irq' of irq_flow_handler_t. Signed-off-by: Jiang Liu --- 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