From patchwork Tue Mar 29 06:11:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Santosh Shilimkar X-Patchwork-Id: 670702 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2T6C023002626 for ; Tue, 29 Mar 2011 06:12:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752870Ab1C2GMK (ORCPT ); Tue, 29 Mar 2011 02:12:10 -0400 Received: from na3sys009aog110.obsmtp.com ([74.125.149.203]:45034 "EHLO na3sys009aog110.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752272Ab1C2GMJ (ORCPT ); Tue, 29 Mar 2011 02:12:09 -0400 Received: from source ([209.85.213.170]) (using TLSv1) by na3sys009aob110.postini.com ([74.125.148.12]) with SMTP ID DSNKTZF4ODCexi4RhIInf02rgEYcANBLThE3@postini.com; Mon, 28 Mar 2011 23:12:08 PDT Received: by yxi11 with SMTP id 11so1715174yxi.29 for ; Mon, 28 Mar 2011 23:12:07 -0700 (PDT) Received: by 10.150.61.20 with SMTP id j20mr4579639yba.175.1301379127879; Mon, 28 Mar 2011 23:12:07 -0700 (PDT) From: Santosh Shilimkar References: <20110328221501.4046.41079.stgit@baageli.muru.com> <20110328222128.4046.70846.stgit@baageli.muru.com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20110328222128.4046.70846.stgit@baageli.muru.com> Thread-Index: AcvtlpdV++QjudCJQKeoQ4/+X1k8+QAQJFlQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Date: Tue, 29 Mar 2011 11:41:50 +0530 Message-ID: Subject: RE: [PATCH 01/10] omap: Use separate init_irq functions to avoidcpu_is_omap tests early To: Tony Lindgren , linux-arm-kernel@lists.infradead.org Cc: linux-omap@vger.kernel.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 29 Mar 2011 06:12:11 +0000 (UTC) diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index 9ef8c29..9bddc9e 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c @@ -41,6 +41,8 @@ void __init gic_init_irq(void) gic_cpu_base = ioremap(OMAP44XX_GIC_CPU_BASE, SZ_512); BUG_ON(!gic_cpu_base); + omap_irq_base = gic_cpu_base; + gic_init(0, 29, gic_dist_base_addr, gic_cpu_base); }