From patchwork Mon Jul 28 21:16:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 34438 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1B7F0202E4 for ; Mon, 28 Jul 2014 21:24:37 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id 29sf28595540yhl.2 for ; Mon, 28 Jul 2014 14:24:36 -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:mime-version:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=lPvo01iZ5NJR5k3MQMLkQf441x50qPrN8wIO+Hooy9k=; b=bS/4WswP/YS0OU1R61CbvYbzqOStzayelaJMVHqa4pCtXhTU04fH1wzGCFDFZhlFkN 26NfNMDmdefVpDxRKvNwh2KUisydqgzhOJwB8vXkzKNSz5qG0nUrwnSHFUYPNGuZkpsA 9DA9qvl+ACw2Z13tN5FbBwZO/F/BL+sKRd7GQzyFLHcGvJXQDlzoPXbx3yfGslmzvtFL SnkpiRPNwNUfa5PC7HbOaNrIt+bJLTrxtmHwa/w3QvmpAUUoob9pDQVvuAObov0zV3VW ZQ/m5k8MAO7Nu1nnWxtbaNcs+UrulLy9QbHkiOwSnJ7Mn3fC63bJNmxJp+YZp0BCkd9i 9Qzw== X-Gm-Message-State: ALoCoQnXgnXgdZ5NY+VeAtlAffqxETlK7Eck+nF+nEcwhqOhJEj+zrdcCe3x4/0sHklaMWP1+Ocz X-Received: by 10.236.129.2 with SMTP id g2mr15483143yhi.2.1406582676939; Mon, 28 Jul 2014 14:24:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.39.39 with SMTP id u36ls1539428qgu.63.gmail; Mon, 28 Jul 2014 14:24:36 -0700 (PDT) X-Received: by 10.220.12.78 with SMTP id w14mr3531046vcw.68.1406582676777; Mon, 28 Jul 2014 14:24:36 -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 ev7si13335880vdb.36.2014.07.28.14.24.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jul 2014 14:24:36 -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 lf12so12013130vcb.40 for ; Mon, 28 Jul 2014 14:24:36 -0700 (PDT) X-Received: by 10.221.47.9 with SMTP id uq9mr3638123vcb.48.1406582676669; Mon, 28 Jul 2014 14:24:36 -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 tc5csp197369vcb; Mon, 28 Jul 2014 14:24:36 -0700 (PDT) X-Received: by 10.66.219.104 with SMTP id pn8mr6423421pac.133.1406582675880; Mon, 28 Jul 2014 14:24:35 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id ck17si9535186pdb.421.2014.07.28.14.24.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jul 2014 14:24:35 -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 1XBsO0-00027q-50; Mon, 28 Jul 2014 21:23:12 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XBsIg-0003bP-IT for linux-arm-kernel@bombadil.infradead.org; Mon, 28 Jul 2014 21:17:42 +0000 Received: from comal.ext.ti.com ([198.47.26.152]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XBsIc-000532-1y for linux-arm-kernel@lists.infradead.org; Mon, 28 Jul 2014 21:17:40 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s6SLH8Pg032081; Mon, 28 Jul 2014 16:17:08 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6SLH8ko027601; Mon, 28 Jul 2014 16:17:08 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Mon, 28 Jul 2014 16:17:07 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6SLH7no002762; Mon, 28 Jul 2014 16:17:07 -0500 From: Felipe Balbi To: Tony Lindgren Subject: [PATCH 22/35] arm: omap: irq: call set_handle_irq() from .init_irq Date: Mon, 28 Jul 2014 16:16:10 -0500 Message-ID: <1406582183-696-23-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.0.1.563.g66f467c In-Reply-To: <1406582183-696-1-git-send-email-balbi@ti.com> References: <1406582183-696-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140728_171738_243169_C98A53BF X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [198.47.26.152 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: devicetree@vger.kernel.org, linux@arm.linux.org.uk, jason@lakedaemon.net, khilman@deeprootsystems.com, Linux Kernel Mailing List , Felipe Balbi , bcousson@baylibre.com, tglx@linutronix.de, Linux OMAP Mailing List , Linux ARM Kernel Mailing List 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: , 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: balbi@ti.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 the idea is that board-files won't need to set .handle_irq on their machine_descs, which lets us drop a little more pointless code. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 587def4..994009c 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c @@ -284,16 +284,19 @@ asmlinkage void __exception_irq_entry omap2_intc_handle_irq(struct pt_regs *regs void __init omap2_init_irq(void) { omap_init_irq(OMAP24XX_IC_BASE, 96, NULL); + set_handle_irq(omap2_intc_handle_irq); } void __init omap3_init_irq(void) { omap_init_irq(OMAP34XX_IC_BASE, 96, NULL); + set_handle_irq(omap2_intc_handle_irq); } void __init ti81xx_init_irq(void) { omap_init_irq(OMAP34XX_IC_BASE, 128, NULL); + set_handle_irq(omap2_intc_handle_irq); } static int __init intc_of_init(struct device_node *node,