aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-30 20:21:42 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-30 22:21:22 -0500
commit3e92ab3d7e2edef5dccd8b0db21528699c81d2c0 (patch)
tree09616446524f80e9156d928e0e267426617258f0 /arch
parented74ca6d5a3e57eb0969d4e14e46cf9f88d25d3f (diff)
x86, irqs, voyager: remove Voyager quirk
Remove a Voyager complication from the generic irq_vectors.h header. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/irq_vectors.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h
index 067d22ffb3ec..81fc883b3c05 100644
--- a/arch/x86/include/asm/irq_vectors.h
+++ b/arch/x86/include/asm/irq_vectors.h
@@ -106,7 +106,7 @@
106 106
107#define NR_IRQS_LEGACY 16 107#define NR_IRQS_LEGACY 16
108 108
109#if defined(CONFIG_X86_IO_APIC) && !defined(CONFIG_X86_VOYAGER) 109#ifdef CONFIG_X86_IO_APIC
110 110
111#include <asm/apicnum.h> /* need MAX_IO_APICS */ 111#include <asm/apicnum.h> /* need MAX_IO_APICS */
112 112
@@ -117,22 +117,14 @@
117# define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS)) 117# define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS))
118# endif 118# endif
119#else 119#else
120
121# define NR_IRQS \ 120# define NR_IRQS \
122 ((8 * NR_CPUS) > (32 * MAX_IO_APICS) ? \ 121 ((8 * NR_CPUS) > (32 * MAX_IO_APICS) ? \
123 (NR_VECTORS + (8 * NR_CPUS)) : \ 122 (NR_VECTORS + (8 * NR_CPUS)) : \
124 (NR_VECTORS + (32 * MAX_IO_APICS))) \ 123 (NR_VECTORS + (32 * MAX_IO_APICS)))
125
126#endif 124#endif
127 125
128#elif defined(CONFIG_X86_VOYAGER) 126#else /* !CONFIG_X86_IO_APIC: */
129
130# define NR_IRQS 224
131
132#else /* IO_APIC || VOYAGER */
133
134# define NR_IRQS 16 127# define NR_IRQS 16
135
136#endif 128#endif
137 129
138#endif /* _ASM_X86_IRQ_VECTORS_H */ 130#endif /* _ASM_X86_IRQ_VECTORS_H */