From 6c37521f14c97485bcc225a10ce585f1e856d062 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Mon, 5 Jan 2004 05:38:52 -0800 Subject: [PATCH] [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. --- arch/x86_64/kernel/io_apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index de830cbf1738e..efbcff589e132 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c @@ -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*/ -- 2.53.0