From patchwork Tue Aug 26 10:03:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 35965 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 37A662054F for ; Tue, 26 Aug 2014 10:05:31 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id 29sf50018639yhl.10 for ; Tue, 26 Aug 2014 03:05:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=/XZwTr2Q2LD+PvGInCKRINTQBBaoeGl3WDq5MlxpZ0c=; b=Z4HmGaAhOwHp3IRfewT8s26p9ZHQvwHTUGeucu1KCXYVwMTAfkF7oTfxQpayM9W5zc 8gAsAf2Y/yiz/yOVA+jPaVZ0YL/lXXBqoxecJtqIyguHX4HsbszGQ+UVZwlBp3eMpKz7 BmnAmBcNNhUydFf390HW7hp5VpZPGm1tcI41COF+95a2OYUl/xmzKvaoM5t0V3D2/lal ciaap1l0SIYRZWXZA924/ny3y2kJIfBZXx7/HGG9ZiPpwGlisqrxHhHdUIRlhyDcPErU iz7Q+/sXYPjWinTtW16ImhbqEuxuARMBZe8IsFftCv5UYiMTrXkEp5vCxom2aeouVmEy ++ZA== X-Gm-Message-State: ALoCoQlEMUnYRfRn07aqeqrKVU2C9VTkkg1M7TWmGX1ArOq8EHAhRtilHtosdUNMYcdSFcqvF7Zi X-Received: by 10.236.7.14 with SMTP id 14mr17553650yho.34.1409047531066; Tue, 26 Aug 2014 03:05:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.90.17 with SMTP id w17ls99271qgd.70.gmail; Tue, 26 Aug 2014 03:05:31 -0700 (PDT) X-Received: by 10.220.168.210 with SMTP id v18mr23025624vcy.3.1409047530921; Tue, 26 Aug 2014 03:05:30 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id qa10si1160323vcb.103.2014.08.26.03.05.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 03:05:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf12so16266415vcb.26 for ; Tue, 26 Aug 2014 03:05:30 -0700 (PDT) X-Received: by 10.52.106.198 with SMTP id gw6mr19246287vdb.23.1409047530839; Tue, 26 Aug 2014 03:05:30 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp185039vcb; Tue, 26 Aug 2014 03:05:30 -0700 (PDT) X-Received: by 10.70.35.67 with SMTP id f3mr35689479pdj.34.1409047529876; Tue, 26 Aug 2014 03:05:29 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ti10si3191070pab.206.2014.08.26.03.05.29 for ; Tue, 26 Aug 2014 03:05:29 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934614AbaHZKEq (ORCPT + 26 others); Tue, 26 Aug 2014 06:04:46 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:20976 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934418AbaHZKEn (ORCPT ); Tue, 26 Aug 2014 06:04:43 -0400 Received: from e102391-lin.cambridge.arm.com (e102391-lin.cambridge.arm.com [10.1.209.143]) by collaborate-mta1.arm.com (Postfix) with ESMTP id E41F013FBCD; Tue, 26 Aug 2014 05:04:39 -0500 (CDT) From: Marc Zyngier To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux@lists.openrisc.net Cc: linux@arm.linux.org.uk, shawn.guo@freescale.com, kernel@pengutronix.de, tony@atomide.com, catalin.marinas@arm.com, will.deacon@arm.com, jonas@southpole.se, tglx@linutronix.de, jason@lakedaemon.net, shc_work@mail.ru, baohua@kernel.org, maxime.ripard@free-electrons.com, marc.zyngier@arm.com, khilman@linaro.org, sboyd@codeaurora.org, lorenzo.pieralisi@arm.com, larry.bassel@linaro.org, mark.rutland@arm.com, sudeep.holla@arm.com, stefan.kristiansson@saunalahti.fi, vkale@apm.com, schwidefsky@de.ibm.com Subject: [PATCH v2 16/26] irqchip: vt8500: convert to handle_domain_irq Date: Tue, 26 Aug 2014 11:03:31 +0100 Message-Id: <1409047421-27649-17-git-send-email-marc.zyngier@arm.com> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1409047421-27649-1-git-send-email-marc.zyngier@arm.com> References: <1409047421-27649-1-git-send-email-marc.zyngier@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: marc.zyngier@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-vt8500.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-vt8500.c b/drivers/irqchip/irq-vt8500.c index eb6e91e..b7af816 100644 --- a/drivers/irqchip/irq-vt8500.c +++ b/drivers/irqchip/irq-vt8500.c @@ -181,7 +181,7 @@ static struct irq_domain_ops vt8500_irq_domain_ops = { static void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs) { u32 stat, i; - int irqnr, virq; + int irqnr; void __iomem *base; /* Loop through each active controller */ @@ -198,8 +198,7 @@ static void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs) continue; } - virq = irq_find_mapping(intc[i].domain, irqnr); - handle_IRQ(virq, regs); + handle_domain_irq(intc[i].domain, irqnr, regs); } }