Merge branch '3.2-without-smb2' of git://git.samba.org/sfrench/cifs-2.6
[pandora-kernel.git] / arch / x86 / include / asm / irq_vectors.h
index 7e50f06..4b44487 100644 (file)
@@ -160,19 +160,11 @@ static inline int invalid_vm86_irq(int irq)
 #define IO_APIC_VECTOR_LIMIT           ( 32 * MAX_IO_APICS )
 
 #ifdef CONFIG_X86_IO_APIC
-# ifdef CONFIG_SPARSE_IRQ
-#  define CPU_VECTOR_LIMIT             (64 * NR_CPUS)
-#  define NR_IRQS                                      \
+# define CPU_VECTOR_LIMIT              (64 * NR_CPUS)
+# define NR_IRQS                                       \
        (CPU_VECTOR_LIMIT > IO_APIC_VECTOR_LIMIT ?      \
                (NR_VECTORS + CPU_VECTOR_LIMIT)  :      \
                (NR_VECTORS + IO_APIC_VECTOR_LIMIT))
-# else
-#  define CPU_VECTOR_LIMIT             (32 * NR_CPUS)
-#  define NR_IRQS                                      \
-       (CPU_VECTOR_LIMIT < IO_APIC_VECTOR_LIMIT ?      \
-               (NR_VECTORS + CPU_VECTOR_LIMIT)  :      \
-               (NR_VECTORS + IO_APIC_VECTOR_LIMIT))
-# endif
 #else /* !CONFIG_X86_IO_APIC: */
 # define NR_IRQS                       NR_IRQS_LEGACY
 #endif