Commit 3e92ab3d authored by Ingo Molnar's avatar Ingo Molnar

x86, irqs, voyager: remove Voyager quirk

Remove a Voyager complication from the generic irq_vectors.h header.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent ed74ca6d
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
#define NR_IRQS_LEGACY 16 #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 */ #include <asm/apicnum.h> /* need MAX_IO_APICS */
...@@ -117,22 +117,14 @@ ...@@ -117,22 +117,14 @@
# define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS)) # define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS))
# endif # endif
#else #else
# define NR_IRQS \ # define NR_IRQS \
((8 * NR_CPUS) > (32 * MAX_IO_APICS) ? \ ((8 * NR_CPUS) > (32 * MAX_IO_APICS) ? \
(NR_VECTORS + (8 * NR_CPUS)) : \ (NR_VECTORS + (8 * NR_CPUS)) : \
(NR_VECTORS + (32 * MAX_IO_APICS))) \ (NR_VECTORS + (32 * MAX_IO_APICS)))
#endif #endif
#elif defined(CONFIG_X86_VOYAGER) #else /* !CONFIG_X86_IO_APIC: */
# define NR_IRQS 224
#else /* IO_APIC || VOYAGER */
# define NR_IRQS 16 # define NR_IRQS 16
#endif #endif
#endif /* _ASM_X86_IRQ_VECTORS_H */ #endif /* _ASM_X86_IRQ_VECTORS_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment