Linux-2.6.12-rc2
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / asm-i386 / mach-default / irq_vectors_limits.h
1 #ifndef _ASM_IRQ_VECTORS_LIMITS_H
2 #define _ASM_IRQ_VECTORS_LIMITS_H
3
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
20
21 #endif /* _ASM_IRQ_VECTORS_LIMITS_H */