From patchwork Tue Jul 8 13:10: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: 33210 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 59CB920969 for ; Tue, 8 Jul 2014 13:13:50 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id o6sf1741081oag.5 for ; Tue, 08 Jul 2014 06:13:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=dEkyxeC/aUGgiZqVSqzqx2xia5OxXOV8RNF2xXP+L3U=; b=FbwWOrDSSQdSh/aBKvSiLWB1vMXgUVjgWtd/jYBR8Fq8VhBKwJQi/Lvzdg8zG7ygXW HxfI3LzAMTMI2qsmtW7+Tles4eNeH+0ZnIYlXQABGGgDg5j5Sup6REGdeAcUN9TWViQU fm1BDibSWQaCJNT8+oOibBaWqyg2pMKWCXsUJcPkIFXpfiOxyTHHqFidyfy5+dT6IufV 2qqyF+gPleYEpkP7PYG0592y9Oz4iBImw9D+gkOjHumqRIYB8iyN+s8WCfgtb0tnL2Eu uncN9xN1BYR8uuwteDPOP7/6wVaVFlamCAwZ8f9cKDmdQ8QLHHIk84ohJYF3HxJdCXjS mYwQ== X-Gm-Message-State: ALoCoQlohfIIISPhaSSixdUxfBloiWljBWMTzYzEW4QVrowxNRPyHy1TmLNem0p1iTwRRfqXzjn6 X-Received: by 10.50.44.69 with SMTP id c5mr1541074igm.3.1404825229900; Tue, 08 Jul 2014 06:13:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.166 with SMTP id d35ls2205264qge.3.gmail; Tue, 08 Jul 2014 06:13:49 -0700 (PDT) X-Received: by 10.220.30.69 with SMTP id t5mr33594978vcc.6.1404825229794; Tue, 08 Jul 2014 06:13:49 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id oh5si20116311vcb.6.2014.07.08.06.13.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Jul 2014 06:13:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id db11so5552106veb.40 for ; Tue, 08 Jul 2014 06:13:49 -0700 (PDT) X-Received: by 10.58.220.230 with SMTP id pz6mr33655146vec.9.1404825229735; Tue, 08 Jul 2014 06:13:49 -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.37.5 with SMTP id tc5csp769497vcb; Tue, 8 Jul 2014 06:13:49 -0700 (PDT) X-Received: by 10.68.213.97 with SMTP id nr1mr34606114pbc.52.1404825228978; Tue, 08 Jul 2014 06:13:48 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id mz1si43444990pbc.147.2014.07.08.06.13.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jul 2014 06:13:48 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X4VCJ-0006ha-0A; Tue, 08 Jul 2014 13:12:39 +0000 Received: from inca-roads.misterjones.org ([213.251.177.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X4VAy-0005mw-6a for linux-arm-kernel@lists.infradead.org; Tue, 08 Jul 2014 13:11:34 +0000 Received: from [176.25.195.83] (helo=why.wild-wind.fr.eu.org) by cheepnis.misterjones.org with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.80) (envelope-from ) id 1X4VAa-0006Ke-Mg; Tue, 08 Jul 2014 15:10:52 +0200 From: Marc Zyngier To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/15] irqchip: s3c24xx: convert to handle_domain_irq Date: Tue, 8 Jul 2014 14:10:32 +0100 Message-Id: <1404825038-547-10-git-send-email-marc.zyngier@arm.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1404825038-547-1-git-send-email-marc.zyngier@arm.com> References: <1404825038-547-1-git-send-email-marc.zyngier@arm.com> X-SA-Exim-Connect-IP: 176.25.195.83 X-SA-Exim-Rcpt-To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux@arm.linux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, tglx@linutronix.de, jason@lakedaemon.net, shc_work@mail.ru, baohua@kernel.org, maxime.ripard@free-electrons.com, khilman@linaro.org, daniel.lezcano@linaro.org, lorenzo.pieralisi@arm.com, larry.bassel@linaro.org, mark.rutland@arm.com, sudeep.holla@arm.com X-SA-Exim-Mail-From: marc.zyngier@arm.com X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140708_061116_391620_7BE46FDD X-CRM114-Status: GOOD ( 10.82 ) X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) Cc: Mark Rutland , Barry Song , Kevin Hilman , Russell King , Jason Cooper , Alexander Shiyan , Larry Bassel , Catalin Marinas , Daniel Lezcano , Will Deacon , Lorenzo Pieralisi , Sudeep Holla , Thomas Gleixner , Maxime Ripard X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.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.128.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 Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-s3c24xx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c index 78a6acc..c8d373f 100644 --- a/drivers/irqchip/irq-s3c24xx.c +++ b/drivers/irqchip/irq-s3c24xx.c @@ -339,7 +339,6 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc, { int pnd; int offset; - int irq; pnd = __raw_readl(intc->reg_intpnd); if (!pnd) @@ -365,8 +364,7 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc, if (!(pnd & (1 << offset))) offset = __ffs(pnd); - irq = irq_find_mapping(intc->domain, intc_offset + offset); - handle_IRQ(irq, regs); + handle_domain_irq(intc->domain, intc_offset + offset, regs); return true; }