diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-10 09:42:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-10 12:55:41 -0400 |
commit | 8bfaba873f0cc81c1747d6787f2721926192a3dc (patch) | |
tree | c3683f30f6a6560b51e15d951adf473bdc1741cc /include | |
parent | 4191894b68a85bd8da935fb9ac4c882a1fa8651c (diff) |
x86, VisWS: turn into generic arch, add NR_IRQS quirk
NR_IRQS: let VISWS be just a sub-case of the generic code.
This can create a somewhat larger irq_desc[] array if NR_CPUS is high
but that should not worry VisWS which has 4 CPUs at most.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/irq_vectors.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/irq_vectors.h b/include/asm-x86/irq_vectors.h index b58581e2e24e..0ac864ef3cd4 100644 --- a/include/asm-x86/irq_vectors.h +++ b/include/asm-x86/irq_vectors.h | |||
@@ -107,9 +107,9 @@ | |||
107 | #define LAST_VM86_IRQ 15 | 107 | #define LAST_VM86_IRQ 15 |
108 | #define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15) | 108 | #define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15) |
109 | 109 | ||
110 | #if !defined(CONFIG_X86_VISWS) && !defined(CONFIG_X86_VOYAGER) | 110 | #if !defined(CONFIG_X86_VOYAGER) |
111 | 111 | ||
112 | # if defined(CONFIG_X86_IO_APIC) || defined(CONFIG_PARAVIRT) | 112 | # if defined(CONFIG_X86_IO_APIC) || defined(CONFIG_PARAVIRT) || defined(CONFIG_X86_VISWS) |
113 | 113 | ||
114 | # define NR_IRQS 224 | 114 | # define NR_IRQS 224 |
115 | 115 | ||