Commit f4b49971 authored by Linus Torvalds's avatar Linus Torvalds

Make the pc9800, visws and voyager sub-architectures tell us

their NR_IRQ_VECTORS.
parent a5af9cec
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
* The total number of interrupt vectors (including all the * The total number of interrupt vectors (including all the
* architecture specific interrupts) needed. * architecture specific interrupts) needed.
* *
* NR_IRQ_VECTORS:
* The total number of IO APIC vector inputs
*
*/ */
#ifndef _ASM_IRQ_VECTORS_H #ifndef _ASM_IRQ_VECTORS_H
#define _ASM_IRQ_VECTORS_H #define _ASM_IRQ_VECTORS_H
...@@ -82,6 +85,8 @@ ...@@ -82,6 +85,8 @@
#define NR_IRQS 16 #define NR_IRQS 16
#endif #endif
#define NR_IRQ_VECTORS NR_IRQS
#define FPU_IRQ 8 #define FPU_IRQ 8
#define FIRST_VM86_IRQ 2 #define FIRST_VM86_IRQ 2
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
* *
*/ */
#define NR_IRQS 224 #define NR_IRQS 224
#define NR_IRQ_VECTORS NR_IRQS
#define FPU_IRQ 13 #define FPU_IRQ 13
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
#define VIC_CPU_BOOT_ERRATA_CPI (VIC_CPI_LEVEL0 + 8) #define VIC_CPU_BOOT_ERRATA_CPI (VIC_CPI_LEVEL0 + 8)
#define NR_IRQS 224 #define NR_IRQS 224
#define NR_IRQ_VECTORS NR_IRQS
#define FPU_IRQ 13 #define FPU_IRQ 13
......
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