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: 670722 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 p2T6DosU002838 for ; Tue, 29 Mar 2011 06:13:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753201Ab1C2GNt (ORCPT ); Tue, 29 Mar 2011 02:13:49 -0400 Received: from na3sys009aog117.obsmtp.com ([74.125.149.242]:35362 "EHLO na3sys009aog117.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753125Ab1C2GNt (ORCPT ); Tue, 29 Mar 2011 02:13:49 -0400 Received: from source ([209.85.213.49]) (using TLSv1) by na3sys009aob117.postini.com ([74.125.148.12]) with SMTP ID DSNKTZF4nMNrrXEY/QKt3d3JmwqL79BuqTju@postini.com; Mon, 28 Mar 2011 23:13:49 PDT Received: by ywe9 with SMTP id 9so1854116ywe.22 for ; Mon, 28 Mar 2011 23:13:48 -0700 (PDT) Received: by 10.150.235.20 with SMTP id i20mr5144447ybh.232.1301379228065; Mon, 28 Mar 2011 23:13:48 -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 Thread-Index: AcvtlpdV++QjudCJQKeoQ4/+X1k8+QAQJFlQ In-Reply-To: <20110328222128.4046.70846.stgit@baageli.muru.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Date: Tue, 29 Mar 2011 11:41:50 +0530 Message-ID: <68fd794ea71baf49b8011ae5463363df@mail.gmail.com> 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:13:50 +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); }