From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hopwood Subject: Re: [PATCH] Fix NR_PIRQS to be the same in Xen and Linux Date: Wed, 13 Jul 2005 01:54:06 +0100 Message-ID: <42D4662E.7040703@blueyonder.co.uk> References: Reply-To: david.nospam.hopwood@blueyonder.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed 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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Natasha Jarymowycz wrote: > In linux-2.6-xen-sparse/include/asm-xen/asm-i386/mach-xen/irq_vectors.h, > NR_PIRQS is 256. But in Xen NR_PIRQS is defined to be only 128. This > patch ups the number in Xen to 256. [...] > -#define NR_PIRQS 128 /* Put this somewhere sane! */ > +#define NR_PIRQS 256 /* Put this somewhere sane! */ Like the comment says, shouldn't it be put somewhere so that both XenLinux and Xen will pick up the definition? -- David Hopwood