[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] IA64: eliminate NR_IRQ_VECTORS. ia64 part.
# HG changeset patch # User Isaku Yamahata <yamahata@xxxxxxxxxxxxx> # Date 1228459386 -32400 # Node ID c15577ad46f21c6db393ebc516ab5ddd36341c58 # Parent f4c5befcba8d78d4f93f58602e9ea942e7372496 IA64: eliminate NR_IRQ_VECTORS. ia64 part. This is ia64 counter part of 18802:935bd48f096a which eliminates NR_IRQ_VECTORS. Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx> --- xen/drivers/passthrough/vtd/ia64/vtd.c | 2 +- xen/include/asm-ia64/hvm/irq.h | 2 +- xen/include/asm-ia64/linux/asm/irq.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff -r f4c5befcba8d -r c15577ad46f2 xen/drivers/passthrough/vtd/ia64/vtd.c --- a/xen/drivers/passthrough/vtd/ia64/vtd.c Thu Dec 04 11:01:53 2008 +0900 +++ b/xen/drivers/passthrough/vtd/ia64/vtd.c Fri Dec 05 15:43:06 2008 +0900 @@ -31,7 +31,7 @@ int vector_irq[NR_VECTORS] __read_mostly = { [0 ... NR_VECTORS - 1] = -1}; /* irq_vectors is indexed by the sum of all RTEs in all I/O APICs. */ -u8 irq_vector[NR_IRQ_VECTORS] __read_mostly; +u8 irq_vector[NR_IRQS] __read_mostly; void *map_vtd_domain_page(u64 maddr) { diff -r f4c5befcba8d -r c15577ad46f2 xen/include/asm-ia64/hvm/irq.h --- a/xen/include/asm-ia64/hvm/irq.h Thu Dec 04 11:01:53 2008 +0900 +++ b/xen/include/asm-ia64/hvm/irq.h Fri Dec 05 15:43:06 2008 +0900 @@ -98,7 +98,7 @@ irq_to_vector (int irq) } -extern u8 irq_vector[NR_IRQ_VECTORS]; +extern u8 irq_vector[NR_IRQS]; extern int vector_irq[NR_VECTORS]; #endif /* __ASM_IA64_HVM_IRQ_H__ */ diff -r f4c5befcba8d -r c15577ad46f2 xen/include/asm-ia64/linux/asm/irq.h --- a/xen/include/asm-ia64/linux/asm/irq.h Thu Dec 04 11:01:53 2008 +0900 +++ b/xen/include/asm-ia64/linux/asm/irq.h Fri Dec 05 15:43:06 2008 +0900 @@ -13,7 +13,6 @@ #define NR_VECTORS 256 #define NR_IRQS 256 -#define NR_IRQ_VECTORS NR_IRQS static __inline__ int irq_canonicalize (int irq) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |