From: "Jan Beulich" Subject: Re: [PATCH v2 15/16] xen: IRQ: Add dev_id parameter to release_irq Date: Fri, 04 Apr 2014 08:47:56 +0100 Message-ID: <533E7FCC0200007800005810@nat28.tlf.novell.com> References: <1396557727-19102-1-git-send-email-julien.grall@linaro.org> <1396557727-19102-16-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WVyr0-0008A1-SF for xen-devel@lists.xenproject.org; Fri, 04 Apr 2014 07:47:59 +0000 In-Reply-To: <1396557727-19102-16-git-send-email-julien.grall@linaro.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com, ian.campbell@citrix.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org >>> On 03.04.14 at 22:42, wrote: > --- a/xen/arch/x86/irq.c > +++ b/xen/arch/x86/irq.c > @@ -983,7 +983,7 @@ int __init request_irq(unsigned int irq, > return retval; > } > > -void __init release_irq(unsigned int irq) > +void release_irq(unsigned int irq, const void *dev_id) Why? There shouldn't be any post-init use for it (and in fact the function is - as you validly say - entirely unused right now), so there's no need for it to stay in memory. Jan