From patchwork Tue Aug 26 10:03:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 35966 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 402FC2054F for ; Tue, 26 Aug 2014 10:05:32 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id l13sf19812007iga.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=LgS5/BiEc2zZRHlvs0Kn8MUjiH8Q9E0wUh9JlhnDHMs=; b=Tcl+KV27vocQPQG3W6/EVTD0hFWGuleKr85O+VyK1Ip5BjvjrRNa3fdhig9Vx5C0r2 ZChFjNypeaiXqNCJaEDoym7lFrW77KTOX0IewME6wmQSJCLdk2nVNvQjFyi5fxTUSlQ0 gEDkTDYy/VyYE6nG38m+3pvxSo2o6Ot0eZgzY8lon0utbbi3QHTOXdVZ15lDgkpr4Zgy rKgM0DSM+Psdrn/ohqcmiahwqsXR2gfS9QKwgwOyQha5A/X3FHJlx2188TJtenr8TRtB dmO3HKutuhXpUhSPZfA/HQfZzJWTuC0d5yI0nMvVXg4+TS2Su21MSTQrqBpBUl5iuJAG 5zQw== X-Gm-Message-State: ALoCoQla/APvqHecODULiXis7OJtSaje5UzOiqXmBxUBMV+rfRFaKPqsZQrJ5ibRUFd9+8/AP//3 X-Received: by 10.50.153.98 with SMTP id vf2mr13651011igb.5.1409047531763; Tue, 26 Aug 2014 03:05:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.6 with SMTP id s6ls2433531qgd.22.gmail; Tue, 26 Aug 2014 03:05:31 -0700 (PDT) X-Received: by 10.220.163.69 with SMTP id z5mr23175939vcx.10.1409047531652; Tue, 26 Aug 2014 03:05:31 -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 u2si1179618vdx.36.2014.08.26.03.05.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 03:05:31 -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 lf12so16383256vcb.40 for ; Tue, 26 Aug 2014 03:05:31 -0700 (PDT) X-Received: by 10.52.28.146 with SMTP id b18mr217251vdh.55.1409047531570; Tue, 26 Aug 2014 03:05:31 -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 uj3csp185041vcb; Tue, 26 Aug 2014 03:05:31 -0700 (PDT) X-Received: by 10.68.69.8 with SMTP id a8mr11759257pbu.165.1409047530638; Tue, 26 Aug 2014 03:05:30 -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:30 -0700 (PDT) Received-SPF: none (google.com: linux-omap-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 S934618AbaHZKEs (ORCPT + 6 others); Tue, 26 Aug 2014 06:04:48 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:21003 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934615AbaHZKEr (ORCPT ); Tue, 26 Aug 2014 06:04:47 -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 7F41713FB69; Tue, 26 Aug 2014 05:04:43 -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 17/26] irqchip: zevio: convert to handle_domain_irq Date: Tue, 26 Aug 2014 11:03:32 +0100 Message-Id: <1409047421-27649-18-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-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@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-zevio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-zevio.c b/drivers/irqchip/irq-zevio.c index ceb3a43..e4ef74e 100644 --- a/drivers/irqchip/irq-zevio.c +++ b/drivers/irqchip/irq-zevio.c @@ -56,8 +56,7 @@ static void __exception_irq_entry zevio_handle_irq(struct pt_regs *regs) while (readl(zevio_irq_io + IO_STATUS)) { irqnr = readl(zevio_irq_io + IO_CURRENT); - irqnr = irq_find_mapping(zevio_irq_domain, irqnr); - handle_IRQ(irqnr, regs); + handle_domain_irq(zevio_irq_domain, irqnr, regs); }; }