From patchwork Tue Oct 30 14:54:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 1670521 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 9C1593FC36 for ; Tue, 30 Oct 2012 14:57:45 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TTDDo-0002Ak-N2; Tue, 30 Oct 2012 14:55:19 +0000 Received: from mail-bk0-f49.google.com ([209.85.214.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TTDDP-0001zs-QB for linux-arm-kernel@lists.infradead.org; Tue, 30 Oct 2012 14:54:54 +0000 Received: by mail-bk0-f49.google.com with SMTP id j4so207345bkw.36 for ; Tue, 30 Oct 2012 07:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=M/cufS4fGJkgVLqtMSey7NcSt74hWtNGIVbK7lc03Jw=; b=dW5VhKOykN829Wt6qkmA4fdS+o1KjDh1JAHCBTuqRm00NnKs8NjgQPiLJNizM893Ek NNjfUT+woL4nqWr7hYl2Br59wyGhjWErorF1zGX8LKWnckA2/IHE4WQAxXjR40llO/VC q/sVo8nLNPDXA7AJnn5JIo3n/pqq1M9FfCXOouoE8qI5MRZzmOibHOom0L57tJWME1Mf czSXtCl27Cq1iWtpCjHIJ/IWw/7mPaCLeRlM8jbzbp9Xvix5dY3Q6Mvnk1Bk3zP49Lus +LB5T8LlZjLiaCMI4g3mu83JNZ4l3Pay+mj973YDNmxWOip1bkK+jV3ult/1Pd06m7NM /Rhg== Received: by 10.204.8.194 with SMTP id i2mr10057974bki.117.1351608891365; Tue, 30 Oct 2012 07:54:51 -0700 (PDT) Received: from localhost.localdomain ([91.224.175.20]) by mx.google.com with ESMTPS id e3sm1309847bks.7.2012.10.30.07.54.45 (version=SSLv3 cipher=OTHER); Tue, 30 Oct 2012 07:54:49 -0700 (PDT) From: Rob Herring To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] ARM: highbank: use common irqchip_init Date: Tue, 30 Oct 2012 09:54:20 -0500 Message-Id: <1351608860-24617-4-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1351608860-24617-1-git-send-email-robherring2@gmail.com> References: <1351608860-24617-1-git-send-email-robherring2@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (robherring2[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (robherring2[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Thomas Petazzoni , Russell King , Arnd Bergmann , catalin.marinas@arm.com, Rob Herring , Olof Johansson , Thomas Gleixner X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Rob Herring Now that we have common irqchip init, use it on highbank platform. Signed-off-by: Rob Herring --- arch/arm/mach-highbank/highbank.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c index 40e36a5..27b77da 100644 --- a/arch/arm/mach-highbank/highbank.c +++ b/arch/arm/mach-highbank/highbank.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -82,11 +83,6 @@ void highbank_set_cpu_jump(int cpu, void *jump_addr) HB_JUMP_TABLE_PHYS(cpu) + 15); } -const static struct of_device_id irq_match[] = { - { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, - {} -}; - #ifdef CONFIG_CACHE_L2X0 static void highbank_l2x0_disable(void) { @@ -97,7 +93,7 @@ static void highbank_l2x0_disable(void) static void __init highbank_init_irq(void) { - of_irq_init(irq_match); + irqchip_init(); #ifdef CONFIG_CACHE_L2X0 /* Enable PL310 L2 Cache controller */