Commit bfea1238 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: remove nr_irq_vectors

remove unused defines derived from the (now obsolete) NR_IRQS define.
Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 71f521bb
...@@ -116,7 +116,6 @@ ...@@ -116,7 +116,6 @@
# else # else
# define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS)) # define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS))
# endif # endif
# define NR_IRQ_VECTORS NR_IRQS
#elif !defined(CONFIG_X86_VOYAGER) #elif !defined(CONFIG_X86_VOYAGER)
...@@ -124,23 +123,15 @@ ...@@ -124,23 +123,15 @@
# define NR_IRQS 224 # define NR_IRQS 224
# if (224 >= 32 * NR_CPUS)
# define NR_IRQ_VECTORS NR_IRQS
# else
# define NR_IRQ_VECTORS (32 * NR_CPUS)
# endif
# else /* IO_APIC || PARAVIRT */ # else /* IO_APIC || PARAVIRT */
# define NR_IRQS 16 # define NR_IRQS 16
# define NR_IRQ_VECTORS NR_IRQS
# endif # endif
#else /* !VISWS && !VOYAGER */ #else /* !VISWS && !VOYAGER */
# define NR_IRQS 224 # define NR_IRQS 224
# define NR_IRQ_VECTORS NR_IRQS
#endif /* VISWS */ #endif /* VISWS */
......
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