]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86, irqs, voyager: remove Voyager quirk
authorIngo Molnar <mingo@elte.hu>
Sat, 31 Jan 2009 01:21:42 +0000 (02:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 31 Jan 2009 03:21:22 +0000 (04:21 +0100)
Remove a Voyager complication from the generic irq_vectors.h header.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/irq_vectors.h

index 067d22ffb3ecf79fec94312f97026bf1ae8158f8..81fc883b3c0533204cd8bebea144f85e9570c67b 100644 (file)
 
 #define NR_IRQS_LEGACY         16
 
-#if defined(CONFIG_X86_IO_APIC) && !defined(CONFIG_X86_VOYAGER)
+#ifdef CONFIG_X86_IO_APIC
 
 #include <asm/apicnum.h>       /* need MAX_IO_APICS */
 
 #  define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS))
 # endif
 #else
-
 # define NR_IRQS                                       \
        ((8 * NR_CPUS) > (32 * MAX_IO_APICS) ?          \
                (NR_VECTORS + (8 * NR_CPUS)) :          \
-               (NR_VECTORS + (32 * MAX_IO_APICS)))     \
-
+               (NR_VECTORS + (32 * MAX_IO_APICS)))
 #endif
 
-#elif defined(CONFIG_X86_VOYAGER)
-
-# define NR_IRQS               224
-
-#else /* IO_APIC || VOYAGER */
-
+#else /* !CONFIG_X86_IO_APIC: */
 # define NR_IRQS               16
-
 #endif
 
 #endif /* _ASM_X86_IRQ_VECTORS_H */