Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932315Ab2BXSDl (ORCPT ); Fri, 24 Feb 2012 13:03:41 -0500 Received: from mail-tul01m020-f174.google.com ([209.85.214.174]:56300 "EHLO mail-tul01m020-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755938Ab2BXSDk convert rfc822-to-8bit (ORCPT ); Fri, 24 Feb 2012 13:03:40 -0500 Authentication-Results: mr.google.com; spf=pass (google.com: domain of glikely@secretlab.ca designates 10.182.202.69 as permitted sender) smtp.mail=glikely@secretlab.ca MIME-Version: 1.0 In-Reply-To: <4F47C9BF.10008@gmail.com> References: <1330102448-19172-1-git-send-email-grant.likely@secretlab.ca> <4F47C9BF.10008@gmail.com> From: Grant Likely Date: Fri, 24 Feb 2012 11:03:18 -0700 X-Google-Sender-Auth: lfXylm3bnBJMDpCAmmvv8EoGYfc Message-ID: Subject: Re: [PATCH 1/2] irq_domain: Centralize definition of irq_dispose_mapping() To: David Daney Cc: linux-kernel@vger.kernel.org, Rob Herring , "David S. Miller" , Jonas Bonn , sparclinux@vger.kernel.org, linux@openrisc.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1473 Lines: 39 On Fri, Feb 24, 2012 at 10:32 AM, David Daney wrote: > On 02/24/2012 08:54 AM, Grant Likely wrote: >> >> Several architectures define their own empty irq_dispose_mapping(). ?Since >> the irq_domain code is centralized now, there is little need to do so. >> ?This >> patch removes them and creates a new empty copy when !CONFIG_IRQ_DOMAIN is >> selected. >> >> The patch also means that IRQ_DOMAIN becomes selectable on all >> architectures. >> >> Signed-off-by: Grant Likely >> Cc: Rob Herring >> Cc: "David S. Miller" >> Cc: Jonas Bonn >> Cc: sparclinux@vger.kernel.org >> Cc: linux@lists.openrisc.net >> --- >> ?arch/openrisc/include/asm/prom.h | ? 10 +--------- >> ?arch/sparc/include/asm/prom.h ? ?| ? 10 +--------- >> ?include/linux/irqdomain.h ? ? ? ?| ? ?5 ++++- >> ?include/linux/of_irq.h ? ? ? ? ? | ? ?4 +--- >> ?4 files changed, 7 insertions(+), 22 deletions(-) >> > > There is also a definition in arch/mips/include/asm/irq.h. > > Probably best to get rid of that one too. I've got a separate patch which I posted today that enables IRQ_DOMAIN on MIPS which does indeed remove that definition. g. -- 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/