Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751194AbbGBHF4 (ORCPT ); Thu, 2 Jul 2015 03:05:56 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:59224 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752821AbbGBHFt (ORCPT ); Thu, 2 Jul 2015 03:05:49 -0400 Message-ID: <5594E229.2020506@synopsys.com> Date: Thu, 2 Jul 2015 12:33:05 +0530 From: Vineet Gupta User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 Newsgroups: gmane.linux.kernel To: Joel Porquet CC: , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH 00/48] Make the IRQCHIP_DECLARE macro globally accessible References: <1435790000-15720-1-git-send-email-joel@porquet.org> In-Reply-To: <1435790000-15720-1-git-send-email-joel@porquet.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.12.197.226] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1627 Lines: 35 On Thursday 02 July 2015 04:02 AM, Joel Porquet wrote: > At the moment the IRQCHIP_DECLARE macro is only declared locally in > 'drivers/irqchip/irqchip.h'. That prevents from using it directly in arch/* > directories whenever irqchip drivers only exist there, which happens in a few > cases (e.g. arc, arm, microblaze and mips). > > This patch makes the macro to be globally defined, in include/linux/irqchip.h, > and thus usable for arch-specific declarations of irqchip drivers. In this way, > it is very similar to what clocksource does (ie CLOCKSOURCE_OF_DECLARE is > defined in include/linux/clocksource.h). > > I split up everything into patches to make the integration easier. Please let me > know if it's not, and in such case how to make it better. > > For now, patch 01 of this series transfers the declaration of the macro > IRQCHIP_DECLARE to the global header 'include/linux/irqchip.h'. The following > patches, from 02 to 47, modify all the irqchip drivers that use IRQCHIP_DECLARE, > one by one. And finally, the last patch 48 removes the private and now useless > header 'drivers/irqchip/irqchip.h'. Hi Joel, I don't see the rest of series on lkml and/or the patch which touches arch/arc. Also, you may wanna redo this after 4.2-rc1 anyways. For ARC atleast, there's a new intc which would also require similar fixup. There might be others .... Thx, -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/