Commit 6c37521f authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] Fix interrupt routing problem on x86-64

The MSI port to x86-64 added an interrupt routing bug that makes the
kernel not boot anymore on some machines.

Fix that.
parent 0754d23e
...@@ -1933,7 +1933,7 @@ int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int a ...@@ -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)); io_apic_write(ioapic, 0x10+2*pin, *(((int *)&entry)+0));
spin_unlock_irqrestore(&ioapic_lock, flags); spin_unlock_irqrestore(&ioapic_lock, flags);
return entry.vector; return 0;
} }
#endif /*CONFIG_ACPI_BOOT*/ #endif /*CONFIG_ACPI_BOOT*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment