RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / asm-i386 / mach-default / irq_vectors_limits.h
blob7f161e760be6670879fa5eaa78b0fbc8e97c5a7b
1 #ifndef _ASM_IRQ_VECTORS_LIMITS_H
2 #define _ASM_IRQ_VECTORS_LIMITS_H
4 #ifdef CONFIG_X86_IO_APIC
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 */