aboutsummaryrefslogtreecommitdiffstats
path: root/xen-2.4.16/arch/i386/io_apic.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen-2.4.16/arch/i386/io_apic.c')
-rw-r--r--xen-2.4.16/arch/i386/io_apic.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xen-2.4.16/arch/i386/io_apic.c b/xen-2.4.16/arch/i386/io_apic.c
index 190e6be36c..c5ae3a3107 100644
--- a/xen-2.4.16/arch/i386/io_apic.c
+++ b/xen-2.4.16/arch/i386/io_apic.c
@@ -495,8 +495,10 @@ static int __init assign_irq_vector(int irq)
return IO_APIC_VECTOR(irq);
next:
current_vector += 8;
- if (current_vector == HYPERVISOR_CALL_VECTOR)
- goto next;
+ /* XXX Skip the guestOS -> Xen syscall vector! XXX */
+ if (current_vector == HYPERVISOR_CALL_VECTOR) goto next;
+ /* XXX Skip the Linux/BSD fast-trap vector! XXX */
+ if (current_vector == 0x80) goto next;
if (current_vector > FIRST_SYSTEM_VECTOR) {
offset++;