summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@xensource.com>2007-07-18 05:37:03 +0400
committerJeremy Fitzhardinge <jeremy@goop.org>2007-07-18 19:47:41 +0400
commit03f0c2f950f813e3b26c56ed041ba170479d479c (patch)
tree752961d777482f5c2b7b1f68e2cddc26dc259024 /include
parent6996d3b63fd9a64341bc80dad1b556fd3eb81272 (diff)
downloadlinux-03f0c2f950f813e3b26c56ed041ba170479d479c.tar.xz
paravirt: increase IRQ limit
When running with CONFIG_PARAVIRT, we may want lots of IRQs even if there's no IO APIC. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/mach-default/irq_vectors_limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/mach-default/irq_vectors_limits.h b/include/asm-i386/mach-default/irq_vectors_limits.h
index 7f161e760be6..a90c7a60109f 100644
--- a/include/asm-i386/mach-default/irq_vectors_limits.h
+++ b/include/asm-i386/mach-default/irq_vectors_limits.h
@@ -1,7 +1,7 @@
#ifndef _ASM_IRQ_VECTORS_LIMITS_H
#define _ASM_IRQ_VECTORS_LIMITS_H
-#ifdef CONFIG_X86_IO_APIC
+#if defined(CONFIG_X86_IO_APIC) || defined(CONFIG_PARAVIRT)
#define NR_IRQS 224
# if (224 >= 32 * NR_CPUS)
# define NR_IRQ_VECTORS NR_IRQS