summaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@xensource.com>2007-07-18 03:37:03 +0200
committerJeremy Fitzhardinge <jeremy@goop.org>2007-07-18 17:47:41 +0200
commit03f0c2f950f813e3b26c56ed041ba170479d479c (patch)
tree752961d777482f5c2b7b1f68e2cddc26dc259024 /include/asm-i386
parentparavirt: add a hook for once the allocator is ready (diff)
downloadlinux-03f0c2f950f813e3b26c56ed041ba170479d479c.tar.xz
linux-03f0c2f950f813e3b26c56ed041ba170479d479c.zip
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/asm-i386')
-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