From: Ian Campbell Subject: Re: [PATCH] xen: remove nr_irqs_gsi from generic code Date: Wed, 19 Dec 2012 16:05:27 +0000 Message-ID: <1355933127.14620.451.camel@zakaz.uk.xensource.com> References: <1354628943.2693.80.camel@zakaz.uk.xensource.com> <1355928233-15885-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1355928233-15885-1-git-send-email-ian.campbell@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" Cc: Daniel De Graaf , "Keir (Xen.org)" , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Wed, 2012-12-19 at 14:43 +0000, Ian Campbell wrote: > The concept is X86 specific. > > AFAICT the generic concept here is the number of physical IRQs which > the current hardware has, so call this nr_hw_irqs. I corrected this to: AFAICT the generic concept here is the number of static physical IRQs which the current hardware has, so call this nr_static_irqs. > Also using "defined NR_IRQS" as a standin for x86 might have made > sense at one point but its just cleaner to push the necessary > definitions into asm/irq.h. > > Signed-off-by: Ian Campbell > Cc: Keir (Xen.org) > Cc: Jan Beulich Applied with Keir + Jan's ack.