pciehp: minor cleanups for pciehp_hpc.c
[linux-2.6/mini2440.git] / include / asm-x86 / mach-default / irq_vectors_limits.h
bloba90c7a60109f67f6f6a26b2e9cce19aa32b64fb7
1 #ifndef _ASM_IRQ_VECTORS_LIMITS_H
2 #define _ASM_IRQ_VECTORS_LIMITS_H
4 #if defined(CONFIG_X86_IO_APIC) || defined(CONFIG_PARAVIRT)
5 #define NR_IRQS 224
6 # if (224 >= 32 * NR_CPUS)
7 # define NR_IRQ_VECTORS NR_IRQS
8 # else
9 # define NR_IRQ_VECTORS (32 * NR_CPUS)
10 # endif
11 #else
12 #define NR_IRQS 16
13 #define NR_IRQ_VECTORS NR_IRQS
14 #endif
16 #endif /* _ASM_IRQ_VECTORS_LIMITS_H */