]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix interrupt routing problem on x86-64
authorAndi Kleen <ak@muc.de>
Mon, 5 Jan 2004 13:38:52 +0000 (05:38 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 5 Jan 2004 13:38:52 +0000 (05:38 -0800)
The MSI port to x86-64 added an interrupt routing bug that makes the
kernel not boot anymore on some machines.

Fix that.

arch/x86_64/kernel/io_apic.c

index de830cbf1738e43e45192c7cf929d2a3cc293265..efbcff589e1327a69ea2ffbff7c7df02e306e5c4 100644 (file)
@@ -1933,7 +1933,7 @@ int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int a
        io_apic_write(ioapic, 0x10+2*pin, *(((int *)&entry)+0));
        spin_unlock_irqrestore(&ioapic_lock, flags);
 
-       return entry.vector;
+       return 0;
 }
 
 #endif /*CONFIG_ACPI_BOOT*/