From patchwork Mon Jun 17 16:33:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2735261 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B00A5C0AB1 for ; Mon, 17 Jun 2013 16:36:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 932E52046E for ; Mon, 17 Jun 2013 16:36:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8AB1C20469 for ; Mon, 17 Jun 2013 16:36:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752981Ab3FQQew (ORCPT ); Mon, 17 Jun 2013 12:34:52 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:41745 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751538Ab3FQQet (ORCPT ); Mon, 17 Jun 2013 12:34:49 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MOJ00MBNQ1N6260@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 17 Jun 2013 17:34:43 +0100 (BST) X-AuditID: cbfec7f5-b7f376d000001ec6-2f-51bf3aa3d01e Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id D0.4B.07878.3AA3FB15; Mon, 17 Jun 2013 17:34:43 +0100 (BST) Received: from amdc1227.digital.local ([106.116.147.199]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0MOJ002RHQ1OMHC0@eusync3.samsung.com>; Mon, 17 Jun 2013 17:34:43 +0100 (BST) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Kukjin Kim , Arnd Bergmann , Olof Johansson , Marek Szyprowski , Sylwester Nawrocki , Thomas Abraham , Tomasz Figa , Kyungmin Park Subject: [PATCH v2 08/38] ARM: EXYNOS: common: Remove legacy interrupt initialization code Date: Mon, 17 Jun 2013 18:33:53 +0200 Message-id: <1371486863-12398-9-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.8.2.1 In-reply-to: <1371486863-12398-1-git-send-email-t.figa@samsung.com> References: <1371486863-12398-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkluLIzCtJLcpLzFFi42I5/e/4Vd3FVvsDDW70C1v8nXSM3aJ3wVU2 i7NNb9gtNj2+xmox4/w+Jou1R+6yW5y6/pnN4vCbdlaL9TNes1gcm7GE0YHL4/evSYwed67t YfPYvKTe48qJJlaPvi2rGD0+b5ILYIvisklJzcksSy3St0vgyth/4C1rQTtfxcHnK9kbGO9z dzFyckgImEgsvDqDGcIWk7hwbz1bFyMXh5DAUkaJBcsvM0E4fUwS3fNXsIFUsQmoSXxueARm iwioSnxuW8AOUsQs8JJJ4m7jA3aQhLBAjMTCdZvAxrIAFR3fvRcozsHBK+Ak8e20FsQ2BYnj 27cxgticAs4Si/tugZULAZXsnnmJdQIj7wJGhlWMoqmlyQXFSem5RnrFibnFpXnpesn5uZsY IcH3dQfj0mNWhxgFOBiVeHgTxfYHCrEmlhVX5h5ilOBgVhLhjZ24L1CINyWxsiq1KD++qDQn tfgQIxMHp1QDo9Ncyx81Zb2PNh7wune++wzrnJn/tGMPnixaFbc0432M/BfVsw0tZryxT2S0 6p596FTsXcoksFIo/84inzf5okssUtZ/rWZaLBoaKfjzttrp9lNrNXlFGGpWyEkfPXduz9zM k7KuvQbtE444hF9K8j8aFO6pu1WLNy7i2VU2YTXtRQ/s5WYfU2Ipzkg01GIuKk4EAIn+cb0c AgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch removes legacy IRQ initialization code that was used to set up interrupt handling when booting with ATAGS, which is not supported any more. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/common.c | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index 598e4b8..9626ce4 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -41,7 +41,6 @@ #include #include #include -#include #include #include @@ -486,41 +485,14 @@ void __init exynos_init_time(void) } } -static unsigned int max_combiner_nr(void) -{ - if (soc_is_exynos5250()) - return EXYNOS5_MAX_COMBINER_NR; - else if (soc_is_exynos4412()) - return EXYNOS4412_MAX_COMBINER_NR; - else if (soc_is_exynos4212()) - return EXYNOS4212_MAX_COMBINER_NR; - else - return EXYNOS4210_MAX_COMBINER_NR; -} - - void __init exynos4_init_irq(void) { - unsigned int gic_bank_offset; - - gic_bank_offset = soc_is_exynos4412() ? 0x4000 : 0x8000; - - if (!of_have_populated_dt()) - gic_init_bases(0, IRQ_PPI(0), S5P_VA_GIC_DIST, S5P_VA_GIC_CPU, gic_bank_offset, NULL); - else - irqchip_init(); - - if (!of_have_populated_dt()) - combiner_init(S5P_VA_COMBINER_BASE, NULL, - max_combiner_nr(), COMBINER_IRQ(0, 0)); - - gic_arch_extn.irq_set_wake = s3c_irq_wake; + irqchip_init(); } void __init exynos5_init_irq(void) { irqchip_init(); - gic_arch_extn.irq_set_wake = s3c_irq_wake; } struct bus_type exynos_subsys = {