ia64/xen-unstable

changeset 18861:c15577ad46f2

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@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Fri Dec 05 15:43:06 2008 +0900 (2008-12-05)
parents f4c5befcba8d
children f0a9a58608a0
files xen/drivers/passthrough/vtd/ia64/vtd.c xen/include/asm-ia64/hvm/irq.h xen/include/asm-ia64/linux/asm/irq.h
line diff
     1.1 --- a/xen/drivers/passthrough/vtd/ia64/vtd.c	Thu Dec 04 11:01:53 2008 +0900
     1.2 +++ b/xen/drivers/passthrough/vtd/ia64/vtd.c	Fri Dec 05 15:43:06 2008 +0900
     1.3 @@ -31,7 +31,7 @@
     1.4  
     1.5  int vector_irq[NR_VECTORS] __read_mostly = { [0 ... NR_VECTORS - 1] = -1};
     1.6  /* irq_vectors is indexed by the sum of all RTEs in all I/O APICs. */
     1.7 -u8 irq_vector[NR_IRQ_VECTORS] __read_mostly;
     1.8 +u8 irq_vector[NR_IRQS] __read_mostly;
     1.9  
    1.10  void *map_vtd_domain_page(u64 maddr)
    1.11  {
     2.1 --- a/xen/include/asm-ia64/hvm/irq.h	Thu Dec 04 11:01:53 2008 +0900
     2.2 +++ b/xen/include/asm-ia64/hvm/irq.h	Fri Dec 05 15:43:06 2008 +0900
     2.3 @@ -98,7 +98,7 @@ irq_to_vector (int irq)
     2.4  }
     2.5  
     2.6  
     2.7 -extern u8 irq_vector[NR_IRQ_VECTORS];
     2.8 +extern u8 irq_vector[NR_IRQS];
     2.9  extern int vector_irq[NR_VECTORS];
    2.10  
    2.11  #endif /* __ASM_IA64_HVM_IRQ_H__ */
     3.1 --- a/xen/include/asm-ia64/linux/asm/irq.h	Thu Dec 04 11:01:53 2008 +0900
     3.2 +++ b/xen/include/asm-ia64/linux/asm/irq.h	Fri Dec 05 15:43:06 2008 +0900
     3.3 @@ -13,7 +13,6 @@
     3.4  
     3.5  #define NR_VECTORS	256
     3.6  #define NR_IRQS		256
     3.7 -#define NR_IRQ_VECTORS	NR_IRQS
     3.8  
     3.9  static __inline__ int
    3.10  irq_canonicalize (int irq)