From patchwork Fri Aug 8 11:49:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4695591 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4CA2A9F377 for ; Fri, 8 Aug 2014 11:47:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8D22920179 for ; Fri, 8 Aug 2014 11:47:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD8712016C for ; Fri, 8 Aug 2014 11:46:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756205AbaHHLq7 (ORCPT ); Fri, 8 Aug 2014 07:46:59 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:37629 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752889AbaHHLq7 (ORCPT ); Fri, 8 Aug 2014 07:46:59 -0400 Received: by mail-pd0-f182.google.com with SMTP id fp1so6976932pdb.27 for ; Fri, 08 Aug 2014 04:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=9IYPB4OIPIyA+VF5baYUh/I2T85lX6/laLpX3Qq8en0=; b=EIobCNi2aoPSu3WIZuDs+UnBFgOBA9Ee68iCahf+qM6/sgJbqAkI5jky28coucmQ+w Px3a3LqIagqqFO6aeHPUYxtDb0V5JeC/n7Hw5Mz2TdfPx19xgOcB7fnOe3hqMmxa+avq WzzsdLMCIGznjUPXW4wAbEdUGv+mqx9Jm4A6fpzAt1NENHQpIcdYPx3rvGfzVgHkv3BK 4f81D0OkmmDhsMs718x/+GAKYX02PjzvwP1I0HfXNj5bN0f/jAee+n4lKQGYWsn1tzQq IN1ggoT6E2bOMoETzCEO2mEJQXpdfHbwAO7UNuYCg3mB9q2JrHN1+rG4cEA0I2HWywe1 Sk1w== X-Received: by 10.68.65.69 with SMTP id v5mr1046979pbs.156.1407498418700; Fri, 08 Aug 2014 04:46:58 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id ng15sm3983045pdb.87.2014.08.08.04.46.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Aug 2014 04:46:57 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au Date: Fri, 08 Aug 2014 20:49:13 +0900 Message-Id: <20140808114913.14647.10399.sendpatchset@w520> In-Reply-To: <20140808114855.14647.62725.sendpatchset@w520> References: <20140808114855.14647.62725.sendpatchset@w520> Subject: [PATCH 02/02] ARM: shmobile: marzen: Remove NR_IRQS_LEGACY Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 From: Magnus Damm Remove NR_IRQS_LEGACY from the Marzen Reference code. The Marzen Reference machine vector requires use of Multiplatform, and in such case SPARSE_IRQ is enabled by default. This in turns means that the default value of .nr_irqs equals NR_IRQS and NR_IRQS_LEGACY. Because of this we can simply remove NR_IRQS_LEGACY and move one step closer to a cruft-free environment. Signed-off-by: Magnus Damm --- Built on top of renesas-devel-v3.16-20140808. Completely untested. arch/arm/mach-shmobile/board-marzen-reference.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/arm/mach-shmobile/board-marzen-reference.c +++ work/arch/arm/mach-shmobile/board-marzen-reference.c 2014-08-07 16:08:05.000000000 +0900 @@ -54,7 +54,6 @@ DT_MACHINE_START(MARZEN, "marzen") .map_io = r8a7779_map_io, .init_early = shmobile_init_delay, .init_time = marzen_init_timer, - .nr_irqs = NR_IRQS_LEGACY, .init_irq = r8a7779_init_irq_dt, .init_machine = marzen_init, .init_late = shmobile_init_late,