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: 670732 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 p2T6DosY002838 for ; Tue, 29 Mar 2011 06:15:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752746Ab1C2GPM (ORCPT ); Tue, 29 Mar 2011 02:15:12 -0400 Received: from na3sys009aog117.obsmtp.com ([74.125.149.242]:36333 "EHLO na3sys009aog117.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751048Ab1C2GPL (ORCPT ); Tue, 29 Mar 2011 02:15:11 -0400 Received: from source ([209.85.161.172]) (using TLSv1) by na3sys009aob117.postini.com ([74.125.148.12]) with SMTP ID DSNKTZF476N4ixjqmiN6vfME2/l90+CDsm/N@postini.com; Mon, 28 Mar 2011 23:15:11 PDT Received: by gxk19 with SMTP id 19so1979411gxk.17 for ; Mon, 28 Mar 2011 23:15:10 -0700 (PDT) Received: by 10.150.74.2 with SMTP id w2mr5064525yba.346.1301379310395; Mon, 28 Mar 2011 23:15:10 -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: <4fb3028a4ae904028e93cf6e22df7e79@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:15:14 +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); }