From patchwork Tue Aug 26 10:03:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 35970 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1FB262054F for ; Tue, 26 Aug 2014 10:05:42 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf86973840oag.4 for ; Tue, 26 Aug 2014 03:05:41 -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=6ZdRImd5RNNCh7C+IPMv5cYjmU3AE99r4eGRzJgqNow=; b=ebirOBup/MNfsM6MqpeNPBFA7QbZymUbFnJJP3s9oPmtUKnFsrFA5MtZU+CqJMibTf I0IDyO9Nnvm2ImgAzsDPEhjfAEO3GO1S6iwlIOHkX/1r5Hu8LKUYsZNc1wm/WcXavVbb 50SrHf+xvXxLC1rQ+DHyV3QwOqFNRxIDh8zqtlWiuvNi1AYb0F7Jrxl3OdtcR8rIw9a9 eFWd+67F1qI6avC+J7KdwjX8bzS3Pkcwe5r7g6QJc0onPKg70+QraNfUE4+0E02OpDtv u2hAukUobykJVFxiKMkjUqN4uiVvBxTBgn0UUiYoah1z04VdFh73uUceLI58GRIZyJpM jy6g== X-Gm-Message-State: ALoCoQm32GY/GLEHSzKZXh/v3CJTDvb8puDQKwy8SmDcrGHS2RQe3e5uAMPXJIXqXU5aY7Ruoj9q X-Received: by 10.182.43.164 with SMTP id x4mr18141183obl.5.1409047541743; Tue, 26 Aug 2014 03:05:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.82.75 with SMTP id g69ls2460279qgd.53.gmail; Tue, 26 Aug 2014 03:05:41 -0700 (PDT) X-Received: by 10.220.114.5 with SMTP id c5mr11192741vcq.28.1409047541570; Tue, 26 Aug 2014 03:05:41 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id lr17si1186221vdb.24.2014.08.26.03.05.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 03:05:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id id10so16465006vcb.35 for ; Tue, 26 Aug 2014 03:05:41 -0700 (PDT) X-Received: by 10.52.253.39 with SMTP id zx7mr7602158vdc.2.1409047541512; Tue, 26 Aug 2014 03:05:41 -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 uj3csp185060vcb; Tue, 26 Aug 2014 03:05:41 -0700 (PDT) X-Received: by 10.68.65.101 with SMTP id w5mr31803081pbs.5.1409047540629; Tue, 26 Aug 2014 03:05:40 -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.39 for ; Tue, 26 Aug 2014 03:05:40 -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 S934721AbaHZKFO (ORCPT + 26 others); Tue, 26 Aug 2014 06:05:14 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:21229 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934684AbaHZKFI (ORCPT ); Tue, 26 Aug 2014 06:05:08 -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 1A5CE13FB2C; Tue, 26 Aug 2014 05:05:04 -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 23/26] ARM: imx: tzic: convert to handle_domain_irq Date: Tue, 26 Aug 2014 11:03:38 +0100 Message-Id: <1409047421-27649-24-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.176 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 Acked-by: Shawn Guo --- arch/arm/mach-imx/tzic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/tzic.c b/arch/arm/mach-imx/tzic.c index 1d4f384..4de65ee 100644 --- a/arch/arm/mach-imx/tzic.c +++ b/arch/arm/mach-imx/tzic.c @@ -141,8 +141,7 @@ static void __exception_irq_entry tzic_handle_irq(struct pt_regs *regs) while (stat) { handled = 1; irqofs = fls(stat) - 1; - handle_IRQ(irq_find_mapping(domain, - irqofs + i * 32), regs); + handle_domain_irq(domain, irqofs + i * 32, regs); stat &= ~(1 << irqofs); } }