Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-i386 / mach-default / irq_vectors_limits.h
blobb330026e6f7ff2d95cdb8fb3ad8b0642462379aa
1 #ifndef _ASM_IRQ_VECTORS_LIMITS_H
2 #define _ASM_IRQ_VECTORS_LIMITS_H
4 #ifdef CONFIG_PCI_MSI
5 #define NR_IRQS FIRST_SYSTEM_VECTOR
6 #define NR_IRQ_VECTORS NR_IRQS
7 #else
8 #ifdef CONFIG_X86_IO_APIC
9 #define NR_IRQS 224
10 # if (224 >= 32 * NR_CPUS)
11 # define NR_IRQ_VECTORS NR_IRQS
12 # else
13 # define NR_IRQ_VECTORS (32 * NR_CPUS)
14 # endif
15 #else
16 #define NR_IRQS 16
17 #define NR_IRQ_VECTORS NR_IRQS
18 #endif
19 #endif
21 #endif /* _ASM_IRQ_VECTORS_LIMITS_H */