aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/mach-default
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-10 14:48:37 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-10 14:48:37 +0000
commita89c09bba1810cb28e091d0ebf1b2b7539a95d0a (patch)
tree017d069be2d78f1461d32c52955e9544fcdcba02 /xen/include/asm-x86/mach-default
parent38e73beeff357b63704c9e0e3467c07597371ae5 (diff)
downloadxen-a89c09bba1810cb28e091d0ebf1b2b7539a95d0a.tar.gz
xen-a89c09bba1810cb28e091d0ebf1b2b7539a95d0a.tar.bz2
xen-a89c09bba1810cb28e091d0ebf1b2b7539a95d0a.zip
bitkeeper revision 1.1389.15.2 (4280c9c5w05qWQmSXarelhI1f8FZkQ)
Fix level-triggered IOAPIC acknowledgement. Also a first pass at supporting PCI-MSI notifications in Xen. I think we can support these better with some interface changes in Xen. It's currently rather a kludge. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/mach-default')
-rw-r--r--xen/include/asm-x86/mach-default/irq_vectors_limits.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/xen/include/asm-x86/mach-default/irq_vectors_limits.h b/xen/include/asm-x86/mach-default/irq_vectors_limits.h
index b330026e6f..a0664d7f67 100644
--- a/xen/include/asm-x86/mach-default/irq_vectors_limits.h
+++ b/xen/include/asm-x86/mach-default/irq_vectors_limits.h
@@ -1,21 +1,8 @@
#ifndef _ASM_IRQ_VECTORS_LIMITS_H
#define _ASM_IRQ_VECTORS_LIMITS_H
-#ifdef CONFIG_PCI_MSI
+/* MSI limits */
#define NR_IRQS FIRST_SYSTEM_VECTOR
#define NR_IRQ_VECTORS NR_IRQS
-#else
-#ifdef CONFIG_X86_IO_APIC
-#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
-#define NR_IRQS 16
-#define NR_IRQ_VECTORS NR_IRQS
-#endif
-#endif
#endif /* _ASM_IRQ_VECTORS_LIMITS_H */