Message ID | 1419242740-20219-5-git-send-email-dbaryshkov@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 82517BEEA8 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 Dec 2014 10:09:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B937820115 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 Dec 2014 10:09:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0325E2010E for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 Dec 2014 10:09:45 +0000 (UTC) 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 1Y2ztr-0008Ek-HN; Mon, 22 Dec 2014 10:07:39 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y2zsd-0007W0-E4 for linux-arm-kernel@lists.infradead.org; Mon, 22 Dec 2014 10:06:24 +0000 Received: by mail-pa0-f53.google.com with SMTP id kq14so5566709pab.26 for <linux-arm-kernel@lists.infradead.org>; Mon, 22 Dec 2014 02:06:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cRCaLyh/uYTV+bB6sh2ofzK3jS84nILRJsF9squhsLY=; b=TXnWWd94w09DY3SnXlhMQNbwiu9AqsvzmoPRdj+HDlMTw6Y4Ny/kqL82sDyjtmWpKn WnsGtOtvQlKUFTSgqFODVnawaN1griHlAVWsHks7Zkeb48DWFs93bPXjS1d5Hb722nHT x6q8mKt50c2qhxhqzYWEd4sbzla54MdJV5oLN5ZlxV4fNz9e0Pubf4Uf5V3C+wn854U2 pkFWt1b2IYtJ6Eb2fwXnGnow+sXmoPOMnHzQIH2Oe29v5upcNzsnuyvsrO3zWfyThk65 IBrwjc3Dhs4VR6tvqo28h0/EEXq1yhepgfVAUvTrj/QA2zRsmVTZTerPD+3SsiS3tjO2 7+nQ== X-Received: by 10.68.57.196 with SMTP id k4mr33745028pbq.76.1419242762305; Mon, 22 Dec 2014 02:06:02 -0800 (PST) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id ka5sm348417pbc.27.2014.12.22.02.05.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Dec 2014 02:06:01 -0800 (PST) From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> To: Russell King <linux@arm.linux.org.uk>, Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 5/5] ARM: sa1100: use handle_domain_irq Date: Mon, 22 Dec 2014 13:05:40 +0300 Message-Id: <1419242740-20219-5-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1419242740-20219-1-git-send-email-dbaryshkov@gmail.com> References: <1419242740-20219-1-git-send-email-dbaryshkov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141222_020623_604925_E7FC19DC X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.7 (+) Cc: Alexandre Courbot <gnurou@gmail.com>, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, SUSPICIOUS_RECIPS, T_DKIM_INVALID, T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/mach-sa1100/irq.c b/arch/arm/mach-sa1100/irq.c index a7d116a..65aebfa 100644 --- a/arch/arm/mach-sa1100/irq.c +++ b/arch/arm/mach-sa1100/irq.c @@ -147,7 +147,8 @@ sa1100_handle_irq(struct pt_regs *regs) if (mask == 0) break; - handle_IRQ(ffs(mask) - 1 + IRQ_GPIO0_SC, regs); + handle_domain_irq(sa1100_normal_irqdomain, + ffs(mask) - 1, regs); } while (1); }
Use handle_domain_irq instead of handle_IRQ to automatically map hardware irq number to virq. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> --- arch/arm/mach-sa1100/irq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)