From: Espen Skoglund Subject: Re: [PATCH 3/5] setup_irq/request_irq/free_irq fixups Date: Fri, 6 Feb 2009 11:24:52 +0000 Message-ID: <18828.7684.439394.971077@gargle.gargle.HOWL> References: <18827.18994.337250.550799@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, Espen Skoglund List-Id: xen-devel@lists.xenproject.org [Keir Fraser] > On 05/02/2009 20:21, "Espen Skoglund" wrote: >> Make setup_irq/request_irq/free_irq take vector param instead of >> irq param > Do you really think that's an improvement? Yes. Some interrupts, e.g., for handling IOMMU faults, do not need to be associated with a pirq. They just need to have a vector allocated to them. The way this used to work, the caller would have to invent a IRQ to go with the vector (typically irq := vector) befor calling the function. eSk