From patchwork Fri Aug 8 11:49:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4695581 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 3BB3B9F377 for ; Fri, 8 Aug 2014 11:46:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7206020179 for ; Fri, 8 Aug 2014 11:46:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 869822016C for ; Fri, 8 Aug 2014 11:46:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756187AbaHHLqu (ORCPT ); Fri, 8 Aug 2014 07:46:50 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:36769 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752889AbaHHLqt (ORCPT ); Fri, 8 Aug 2014 07:46:49 -0400 Received: by mail-pd0-f180.google.com with SMTP id v10so5193484pde.39 for ; Fri, 08 Aug 2014 04:46:49 -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=p8diypvjsG8gL9RCChfuYstH3w9n7CLfqHzGTY2UGPM=; b=ZkruCPtS+5Mb2nAnqw5TUcIxa/iZmdIR4Q7S/RlWtUkr61dPRHP3s+Rs2zlPum2tV3 GYFy0lMg4nt1onWfJ/B5tSv7YjHVF8pXCb6UjaQmQs3Wuf9BHaGVAH9ZyZcybrMcESlj NmX7we6OM5HJgBQhQzjSFobAJOgQy72nhPIJqMRKAwrnmnwXGSTA+q1K5Fz8uEE+PuDv 5IDdrvgvDrPQqMpohcefQCrhmxxKGXHebe6AerW3viRCLartwsyKH9p0f7WwTVVS2jqX BC4X6ceLLkRZylXgWI9QLzIJb5fLoxlMHopG9EyRiuijAHFN5DQ0PKSrKxw6I3U4B+WC UXLQ== X-Received: by 10.70.90.237 with SMTP id bz13mr23642072pdb.110.1407498409532; Fri, 08 Aug 2014 04:46:49 -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 rr8sm2767930pbc.30.2014.08.08.04.46.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Aug 2014 04:46:48 -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:04 +0900 Message-Id: <20140808114904.14647.17020.sendpatchset@w520> In-Reply-To: <20140808114855.14647.62725.sendpatchset@w520> References: <20140808114855.14647.62725.sendpatchset@w520> Subject: [PATCH 01/02] ARM: shmobile: r8a7779: 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 r8a7779 generic machine vector. The generic r8a7779 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/setup-r8a7779.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/setup-r8a7779.c +++ work/arch/arm/mach-shmobile/setup-r8a7779.c 2014-08-07 16:06:50.000000000 +0900 @@ -765,7 +765,6 @@ static const char *r8a7779_compat_dt[] _ DT_MACHINE_START(R8A7779_DT, "Generic R8A7779 (Flattened Device Tree)") .map_io = r8a7779_map_io, .init_early = shmobile_init_delay, - .nr_irqs = NR_IRQS_LEGACY, .init_irq = r8a7779_init_irq_dt, .init_late = shmobile_init_late, .dt_compat = r8a7779_compat_dt,