From patchwork Tue Aug 26 10:03:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 35980 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f200.google.com (mail-yk0-f200.google.com [209.85.160.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7EF302054F for ; Tue, 26 Aug 2014 10:11:06 +0000 (UTC) Received: by mail-yk0-f200.google.com with SMTP id 9sf48389988ykp.7 for ; Tue, 26 Aug 2014 03:11:06 -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=ampkXcXCJ5xlENHRkoycZd6kpjmXG/0tdo4Jecz6M2Y=; b=V9U+vhH5gLN1wYF96DQd4Uts7GVii++WK2ZwOkr9ePojVtHr1NYxPzRo0TWoQomyK6 qpaUDFf94Q6gN55s44KwTowaJx40ZfoyeLkFEiNMbGR2cVk1mL24BfVQq3cROBX1VAj9 whTCgErdi3v9cfUdewfRvxhjkWuUVfH57134Is9ahnwdXieSk1rXms0zkQhlMcxQuqOm 5KCx2LnGBoxjpgQNeuwukQHo3NW4vSLDNHADMuuGj4pf9ljjoQekWPPolWUWbeJBqwW5 lcrDeoMk459UiaKVjtity0KPVfDKBqVFV+PlbKHc3RtMnt1g+cC8NvtuCE7IY2cUDbnh z7pA== X-Gm-Message-State: ALoCoQlvEoi7IHbdDYW1WA2E/B7/300XhuL+0Irhu0hLcLiRdbxC5B/lPpAustqjgpY+lU+RokKy X-Received: by 10.236.207.101 with SMTP id m65mr4609852yho.41.1409047866337; Tue, 26 Aug 2014 03:11:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.240 with SMTP id 103ls2467541qgn.28.gmail; Tue, 26 Aug 2014 03:11:06 -0700 (PDT) X-Received: by 10.52.164.199 with SMTP id ys7mr9439141vdb.42.1409047866262; Tue, 26 Aug 2014 03:11:06 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id o8si1150462vdw.92.2014.08.26.03.11.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 03:11:06 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id ij19so16149569vcb.25 for ; Tue, 26 Aug 2014 03:11:06 -0700 (PDT) X-Received: by 10.52.164.199 with SMTP id ys7mr9439128vdb.42.1409047866122; Tue, 26 Aug 2014 03:11:06 -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 uj3csp185455vcb; Tue, 26 Aug 2014 03:11:05 -0700 (PDT) X-Received: by 10.70.34.16 with SMTP id v16mr11896016pdi.153.1409047865120; Tue, 26 Aug 2014 03:11:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bb4si3210488pdb.249.2014.08.26.03.11.04 for ; Tue, 26 Aug 2014 03:11:05 -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 S934872AbaHZKLB (ORCPT + 26 others); Tue, 26 Aug 2014 06:11:01 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:20798 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934530AbaHZKEW (ORCPT ); Tue, 26 Aug 2014 06:04:22 -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 4EB3713FBAD; Tue, 26 Aug 2014 05:04:18 -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 10/26] irqchip: orion: convert to handle_domain_irq Date: Tue, 26 Aug 2014 11:03:25 +0100 Message-Id: <1409047421-27649-11-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.180 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-orion.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-orion.c b/drivers/irqchip/irq-orion.c index 34d18b4..ad0c0f6 100644 --- a/drivers/irqchip/irq-orion.c +++ b/drivers/irqchip/irq-orion.c @@ -43,9 +43,8 @@ __exception_irq_entry orion_handle_irq(struct pt_regs *regs) gc->mask_cache; while (stat) { u32 hwirq = __fls(stat); - u32 irq = irq_find_mapping(orion_irq_domain, - gc->irq_base + hwirq); - handle_IRQ(irq, regs); + handle_domain_irq(orion_irq_domain, + gc->irq_base + hwirq, regs); stat &= ~(1 << hwirq); } }