]> Pileus Git - ~andy/linux/blob - include/asm-x86/mach-default/irq_vectors_limits.h
i386/x86_64: move headers to include/asm-x86
[~andy/linux] / include / asm-x86 / mach-default / irq_vectors_limits.h
1 #ifndef _ASM_IRQ_VECTORS_LIMITS_H
2 #define _ASM_IRQ_VECTORS_LIMITS_H
3
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
15
16 #endif /* _ASM_IRQ_VECTORS_LIMITS_H */